diff options
author | Peng Fan | 2023-04-28 12:08:09 +0800 |
---|---|---|
committer | Stefano Babic | 2023-05-21 16:54:32 +0200 |
commit | 99ac6c769f92b29a6317ee6beb239269bc59a82d (patch) | |
tree | 82a5ac18ef412c374f62fd04c332c326b2b524b4 /drivers/misc | |
parent | be0ad00409982610a02067c70f09b3a1ac7b5864 (diff) |
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/misc')
-rw-r--r-- | drivers/misc/imx8/fuse.c | 2 | ||||
-rw-r--r-- | drivers/misc/imx8/scu.c | 2 | ||||
-rw-r--r-- | drivers/misc/imx8/scu_api.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/imx8/fuse.c b/drivers/misc/imx8/fuse.c index 38111c52548..b81f73f283f 100644 --- a/drivers/misc/imx8/fuse.c +++ b/drivers/misc/imx8/fuse.c @@ -7,7 +7,7 @@ #include <console.h> #include <errno.h> #include <fuse.h> -#include <asm/arch/sci/sci.h> +#include <firmware/imx/sci/sci.h> #include <asm/arch/sys_proto.h> #include <asm/global_data.h> #include <linux/arm-smccc.h> diff --git a/drivers/misc/imx8/scu.c b/drivers/misc/imx8/scu.c index 4ab5cb4bf13..798800aa758 100644 --- a/drivers/misc/imx8/scu.c +++ b/drivers/misc/imx8/scu.c @@ -13,7 +13,7 @@ #include <dm/lists.h> #include <dm/root.h> #include <dm/device-internal.h> -#include <asm/arch/sci/sci.h> +#include <firmware/imx/sci/sci.h> #include <linux/bitops.h> #include <linux/iopoll.h> #include <misc.h> diff --git a/drivers/misc/imx8/scu_api.c b/drivers/misc/imx8/scu_api.c index 8f546e9b3fc..dfede7f1d5f 100644 --- a/drivers/misc/imx8/scu_api.c +++ b/drivers/misc/imx8/scu_api.c @@ -11,7 +11,7 @@ #include <asm/global_data.h> #include <asm/io.h> #include <dm.h> -#include <asm/arch/sci/sci.h> +#include <firmware/imx/sci/sci.h> #include <misc.h> DECLARE_GLOBAL_DATA_PTR; |