summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-03-04 14:57:03 +0100
committerStefan Roese <sr@denx.de>2006-03-04 14:57:03 +0100
commitf1ee982506d8e58262ff0e5d1fb208e703640e34 (patch)
tree490eb9d51b1c441aa058d2ef22149c93a55ebb4b
parentaed9e2269c770a8ccf66e6e9e963e766fbd532b3 (diff)
downloadu-boot-imx-f1ee982506d8e58262ff0e5d1fb208e703640e34.zip
u-boot-imx-f1ee982506d8e58262ff0e5d1fb208e703640e34.tar.gz
u-boot-imx-f1ee982506d8e58262ff0e5d1fb208e703640e34.tar.bz2
Add lowboot target to mcc200 board
Patch by Stefan Roese, 4 Mar 2006
-rw-r--r--CHANGELOG3
-rw-r--r--Makefile8
-rw-r--r--board/mcc200/config.mk16
3 files changed, 24 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 85ae3ef..4cc6629 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
+* Add lowboot target to mcc200 board
+ Patch by Stefan Roese, 4 Mar 2006
+
* Fix problem with flash_get_size() from CFI driver update
Patch by Stefan Roese, 1 Mar 2006
diff --git a/Makefile b/Makefile
index eafbfb6..30a1d1f 100644
--- a/Makefile
+++ b/Makefile
@@ -294,7 +294,13 @@ icecube_5100_config: unconfig
inka4x0_config: unconfig
@./mkconfig inka4x0 ppc mpc5xxx inka4x0
-mcc200_config: unconfig
+mcc200_config \
+mcc200_lowboot_config: unconfig
+ @ >include/config.h
+ @[ -z "$(findstring lowboot_,$@)" ] || \
+ { echo "TEXT_BASE = 0xFE000000" >board/mcc200/config.tmp ; \
+ echo "... with lowboot configuration" ; \
+ }
@./mkconfig mcc200 ppc mpc5xxx mcc200
o2dnt_config:
diff --git a/board/mcc200/config.mk b/board/mcc200/config.mk
index 0a278b1..fa55673 100644
--- a/board/mcc200/config.mk
+++ b/board/mcc200/config.mk
@@ -22,10 +22,22 @@
#
#
-# MCC200 board
+# MCC200 board:
#
+# Valid values for TEXT_BASE are:
+#
+# 0xFFF00000 boot high (standard configuration)
+# 0xFE000000 boot low
+# 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