summaryrefslogtreecommitdiff
path: root/board/icecube/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'board/icecube/config.mk')
-rw-r--r--board/icecube/config.mk17
1 files changed, 15 insertions, 2 deletions
diff --git a/board/icecube/config.mk b/board/icecube/config.mk
index 9913cfb..07b5de1 100644
--- a/board/icecube/config.mk
+++ b/board/icecube/config.mk
@@ -22,10 +22,23 @@
#
#
-# IceCube board
+# IceCube board:
#
+# Valid values for TEXT_BASE are:
+#
+# 0xFFF00000 boot high (standard configuration)
+# 0xFF000000 boot low for 16 MiB boards
+# 0xFF800000 boot low for 8 MiB boards
+# 0x00100000 boot from RAM (for testing only)
+#
+
+sinclude $(TOPDIR)/board/$(BOARDDIR)/config.tmp
-TEXT_BASE = 0xfff00000
+ifndef TEXT_BASE
+## Standard: boot high
+TEXT_BASE = 0xFFF00000
+## For testing: boot from RAM
# TEXT_BASE = 0x00100000
+endif
PLATFORM_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -I$(TOPDIR)/board