diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-02-17 14:50:27 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-03-04 21:25:35 +0900 |
commit | ddb49f3a6c659ee7349a984af2698b440cb786dd (patch) | |
tree | 8a052d41c29715c0e3cc9923c770bfdc8d07d9a2 /include/configs/odroid.h | |
parent | 973ae1e0858d3a1e34f9b33cedab0a344a83c7c8 (diff) | |
download | u-boot-imx-ddb49f3a6c659ee7349a984af2698b440cb786dd.zip u-boot-imx-ddb49f3a6c659ee7349a984af2698b440cb786dd.tar.gz u-boot-imx-ddb49f3a6c659ee7349a984af2698b440cb786dd.tar.bz2 |
Odroid U3: use common code for dram reservation
This commit removes the dram reservation from board file,
because it is done in a common code.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/odroid.h')
-rw-r--r-- | include/configs/odroid.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/configs/odroid.h b/include/configs/odroid.h index 8b47537..5ee0abe 100644 --- a/include/configs/odroid.h +++ b/include/configs/odroid.h @@ -29,6 +29,9 @@ #define CONFIG_SYS_SDRAM_BASE 0x40000000 #define SDRAM_BANK_SIZE (256 << 20) /* 256 MB */ #define PHYS_SDRAM_1 CONFIG_SYS_SDRAM_BASE +/* Reserve the last 1 MiB for the secure firmware */ +#define CONFIG_SYS_MEM_TOP_HIDE (1UL << 20UL) +#define CONFIG_TZSW_RESERVED_DRAM_SIZE CONFIG_SYS_MEM_TOP_HIDE /* memtest works on */ #define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE @@ -56,8 +59,6 @@ #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_LOAD_ADDR \ - GENERATED_GBL_DATA_SIZE) -#define CONFIG_SYS_MEM_TOP_HIDE (SZ_1M) /* ram console */ - #define CONFIG_SYS_MONITOR_BASE 0x00000000 #define CONFIG_ENV_IS_IN_MMC |