diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-09-11 17:23:33 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-09-11 17:23:33 +0200 |
commit | f97ae392215b34fd836ee44a377c619e568038a4 (patch) | |
tree | 5e75ae9fbf435dbd5391a37e863626ce9277f8c2 /arch/arm/mach-mxs/soc-imx23.c | |
parent | 44ca0897af60c6568c7f51923dd0ad29b09b034d (diff) | |
parent | 0079d4f1bc4005f859f55bdead10811dc70f6e28 (diff) | |
download | barebox-f97ae392215b34fd836ee44a377c619e568038a4.tar.gz barebox-f97ae392215b34fd836ee44a377c619e568038a4.tar.xz |
Merge branch 'for-next/mxs'
Diffstat (limited to 'arch/arm/mach-mxs/soc-imx23.c')
-rw-r--r-- | arch/arm/mach-mxs/soc-imx23.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mxs/soc-imx23.c b/arch/arm/mach-mxs/soc-imx23.c index d471c8eb5c..f25fff18c3 100644 --- a/arch/arm/mach-mxs/soc-imx23.c +++ b/arch/arm/mach-mxs/soc-imx23.c @@ -19,6 +19,8 @@ #include <restart.h> #include <mach/imx23-regs.h> #include <io.h> +#include <asm/memory.h> +#include <mach/imx23.h> #define HW_CLKCTRL_RESET 0x120 # define HW_CLKCTRL_RESET_CHIP (1 << 1) @@ -37,6 +39,8 @@ static void __noreturn imx23_restart_soc(struct restart_handler *rst) static int imx23_devices_init(void) { + arm_add_mem_device("ram0", IMX_MEMORY_BASE, imx23_get_memsize()); + if (of_get_root_node()) return 0; |