summaryrefslogtreecommitdiff
path: root/include/configs/mgcoge.h
diff options
context:
space:
mode:
authorAndreas Huber <andreas.huber@keymile.com>2011-01-25 10:26:15 (GMT)
committerWolfgang Denk <wd@denx.de>2011-04-11 20:41:37 (GMT)
commit91a3c14cd0edb7cf427eb025ae25920c8546767c (patch)
tree41bb688d771f22cf1d624ddce7ac9861f9c39536 /include/configs/mgcoge.h
parent086f09150d88a9bfe01b697900dcada6056d854f (diff)
downloadu-boot-91a3c14cd0edb7cf427eb025ae25920c8546767c.tar.xz
ppc, mgcoge: add DIP switch detection
This reads the DIP switch on mgcoge. The DIP switch is connected to the BFTICU (0x40000089) FPGA. If the DIP switch is set the environment variable 'actual_bank' is set to 0 and starts the SW in bank0. Signed-off-by: Andreas Huber <andreas.huber@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Diffstat (limited to 'include/configs/mgcoge.h')
-rw-r--r--include/configs/mgcoge.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/mgcoge.h b/include/configs/mgcoge.h
index 6dec0ee..f1bd32a 100644
--- a/include/configs/mgcoge.h
+++ b/include/configs/mgcoge.h
@@ -348,4 +348,9 @@
#define OF_TBCLK (bd->bi_busfreq / 4)
#define OF_STDOUT_PATH "/soc/cpm/serial@11a90"
+/* enable last_stage_init */
+#define CONFIG_LAST_STAGE_INIT 1
+/* bfticu address */
+#define CONFIG_SYS_BFTICU_BASE 0x40000000
+
#endif /* __CONFIG_H */