diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-04-28 12:08:09 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2023-05-21 16:54:32 +0200 |
commit | 99ac6c769f92b29a6317ee6beb239269bc59a82d (patch) | |
tree | 82a5ac18ef412c374f62fd04c332c326b2b524b4 /drivers/power | |
parent | be0ad00409982610a02067c70f09b3a1ac7b5864 (diff) | |
download | u-boot-99ac6c769f92b29a6317ee6beb239269bc59a82d.tar.gz u-boot-99ac6c769f92b29a6317ee6beb239269bc59a82d.tar.bz2 u-boot-99ac6c769f92b29a6317ee6beb239269bc59a82d.zip |
imx: move imx8 sci header file to include/firmware/imx
Move imx8 sci header file to include/firmware/imx, then we could
use build macro to reuse some i.MX8 drivers for i.MX9, such as
drivers/cpu/imx8_cpu.c.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/domain/imx8-power-domain-legacy.c | 2 | ||||
-rw-r--r-- | drivers/power/domain/imx8-power-domain.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/domain/imx8-power-domain-legacy.c b/drivers/power/domain/imx8-power-domain-legacy.c index bf45891bcc..37b0f95aba 100644 --- a/drivers/power/domain/imx8-power-domain-legacy.c +++ b/drivers/power/domain/imx8-power-domain-legacy.c @@ -14,7 +14,7 @@ #include <dm/device-internal.h> #include <dm/device.h> #include <dm/uclass-internal.h> -#include <asm/arch/sci/sci.h> +#include <firmware/imx/sci/sci.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/power/domain/imx8-power-domain.c b/drivers/power/domain/imx8-power-domain.c index 17b5d57b19..b45e468756 100644 --- a/drivers/power/domain/imx8-power-domain.c +++ b/drivers/power/domain/imx8-power-domain.c @@ -10,7 +10,7 @@ #include <malloc.h> #include <power-domain-uclass.h> #include <asm/arch/power-domain.h> -#include <asm/arch/sci/sci.h> +#include <firmware/imx/sci/sci.h> static int imx8_power_domain_on(struct power_domain *power_domain) { |