diff options
author | Patrick Bruenn <p.bruenn@beckhoff.com> | 2018-01-16 07:59:04 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-02-04 12:00:58 +0100 |
commit | 55e83d2e3614080439e9e93323c05aae053e9b69 (patch) | |
tree | 791a9bd798160b7e3e3bf0374fa944d8cab34e7b /arch | |
parent | 9d9baacb90492e1a6dc4f88732f6641163aa9c12 (diff) | |
download | u-boot-55e83d2e3614080439e9e93323c05aae053e9b69.zip u-boot-55e83d2e3614080439e9e93323c05aae053e9b69.tar.gz u-boot-55e83d2e3614080439e9e93323c05aae053e9b69.tar.bz2 |
arm: imx: mx53loco: remove usage of mx53_dram_size
Static variables are not available during board_init_f().
'static uint32_t mx53_dram_size[2];' was used in board specific
dram_init(), dram_init_banksize() and get_effective_memsize() to avoid
multiple calls to get_ram_size().
Reused dram initialization functions from arch/arm/mach-imx/mx5/mx53_dram.c
Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-imx/mx5/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/mx5/Makefile b/arch/arm/mach-imx/mx5/Makefile index 2cc2cbc..4e305e9 100644 --- a/arch/arm/mach-imx/mx5/Makefile +++ b/arch/arm/mach-imx/mx5/Makefile @@ -13,3 +13,4 @@ obj-y += lowlevel_init.o # common files for mx53 dram initialization obj-$(CONFIG_TARGET_M53EVK) += mx53_dram.o obj-$(CONFIG_TARGET_MX53CX9020) += mx53_dram.o +obj-$(CONFIG_TARGET_MX53LOCO) += mx53_dram.o |