aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-07-26 16:40:37 +0800
committerStefano Babic <sbabic@denx.de>2022-07-26 11:29:00 +0200
commitb0a284a7c94bc03a3f41423cbda73700d5cebf09 (patch)
treef009dc6d615c610143b44f3350b5c482f27d82d3 /arch/arm/include
parent1859b8b60d177545a284e67d9f08011810b37312 (diff)
downloadu-boot-b0a284a7c94bc03a3f41423cbda73700d5cebf09.zip
u-boot-b0a284a7c94bc03a3f41423cbda73700d5cebf09.tar.gz
u-boot-b0a284a7c94bc03a3f41423cbda73700d5cebf09.tar.bz2
imx: move get_boot_device to common file
i.MX8MN/P/ULP supports ROM API, they have almost same get_boot_device implementation, so move to a common file. And when support i.MX9, no need to include the other function copy. Since sys_proto.h is included in imx_romapi.c, there will be build warning for i.MX8M because wdog_regs not defined, so include imx-regs.h in i.MX8M sys_proro.h Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-imx8m/sys_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8m/sys_proto.h b/arch/arm/include/asm/arch-imx8m/sys_proto.h
index f8854e7..55b46af 100644
--- a/arch/arm/include/asm/arch-imx8m/sys_proto.h
+++ b/arch/arm/include/asm/arch-imx8m/sys_proto.h
@@ -7,6 +7,7 @@
#define __ARCH_NMX8M_SYS_PROTO_H
#include <asm/mach-imx/sys_proto.h>
+#include <asm/arch/imx-regs.h>
void set_wdog_reset(struct wdog_regs *wdog);
void enable_tzc380(void);