summaryrefslogtreecommitdiff
path: root/include/configs/odroid_xu3.h
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-02-17 13:50:26 (GMT)
committerMinkyu Kang <mk7.kang@samsung.com>2015-03-04 12:25:35 (GMT)
commit973ae1e0858d3a1e34f9b33cedab0a344a83c7c8 (patch)
treee767733f2b5f117f492d47f537de634570107b04 /include/configs/odroid_xu3.h
parenta0643e227ad98fbc34b1950ddc6d1d2a0f5aadad (diff)
downloadu-boot-973ae1e0858d3a1e34f9b33cedab0a344a83c7c8.tar.xz
Odroid-XU3: enable the last dram bank and reserve 22MiB
This commit enables the last DRAM bank and reserves the last 22 MiB of it, for the secure firmware. Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Akshay Saraswat <akshay.s@samsung.com> Cc: Hyungwon Hwang <human.hwang@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/odroid_xu3.h')
-rw-r--r--include/configs/odroid_xu3.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/configs/odroid_xu3.h b/include/configs/odroid_xu3.h
index 9fa8660..c395020 100644
--- a/include/configs/odroid_xu3.h
+++ b/include/configs/odroid_xu3.h
@@ -25,13 +25,11 @@
#define CONFIG_CMD_MMC
-/*
- * FIXME: The number of bank is actually 8. But there is no way to reserve the
- * last 16 Mib in the last bank now. So I just excluded the last bank
- * temporally.
- */
-#define CONFIG_NR_DRAM_BANKS 7
+#define CONFIG_NR_DRAM_BANKS 8
#define SDRAM_BANK_SIZE (256UL << 20UL) /* 256 MB */
+/* Reserve the last 22 MiB for the secure firmware */
+#define CONFIG_SYS_MEM_TOP_HIDE (22UL << 20UL)
+#define CONFIG_TZSW_RESERVED_DRAM_SIZE CONFIG_SYS_MEM_TOP_HIDE
#define CONFIG_ENV_IS_IN_MMC