diff options
author | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-07-09 11:59:39 +0300 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@toradex.com> | 2020-07-09 13:30:10 +0300 |
commit | 7f671909ed7c224a9d6658b6af9e9dc61100729a (patch) | |
tree | 38be535e132550e27c196c11153678b4b732a760 | |
parent | 4979a99482f7e04a3c1f4fb55e3182395ee8f710 (diff) |
verdin-imx8mm: drop dram_init and use common one
Drop dram_init(), which leads to linking issues and use the common
one introduced in 90cbeb06("TEE-502 imx8m: Refactor the OPTEE memory removal").
Relates-to: ELB-2771
Fixes: 90cbeb06("TEE-502 imx8m: Refactor the OPTEE memory removal")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r-- | board/toradex/verdin-imx8mm/verdin-imx8mm.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index 16b9fa1ec1..1e57efa3ec 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -11,13 +11,6 @@ DECLARE_GLOBAL_DATA_PTR; -int dram_init(void) -{ - gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE); - - return 0; -} - #if IS_ENABLED(CONFIG_FEC_MXC) static int setup_fec(void) { |