summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2008-03-07 08:15:28 +0100
committerWolfgang Denk <wd@denx.de>2008-03-08 10:50:09 +0100
commit82afabfeb8ae6a27c7b396011ea99f4712aa73fa (patch)
treefa0b28c3b5ddc8852fa60bbf8ed676242c886eb3 /include
parente492c90c26215e459aec0fdf0f8ef1fd204988f5 (diff)
downloadu-boot-82afabfeb8ae6a27c7b396011ea99f4712aa73fa.tar.gz
u-boot-82afabfeb8ae6a27c7b396011ea99f4712aa73fa.tar.xz
u-boot-82afabfeb8ae6a27c7b396011ea99f4712aa73fa.zip
mgsuvd: update board configuration
initialize the UPIOx controller. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/mgsuvd.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/include/configs/mgsuvd.h b/include/configs/mgsuvd.h
index 81818723c5..5482089c93 100644
--- a/include/configs/mgsuvd.h
+++ b/include/configs/mgsuvd.h
@@ -36,6 +36,9 @@
#define CONFIG_MPC866 1 /* This is a MPC866 CPU */
#define CONFIG_MGSUVD 1 /* ...on a mgsuvd board */
+/* Do boardspecific init */
+#define CONFIG_BOARD_EARLY_INIT_R 1
+
#define CONFIG_8xx_GCLK_FREQ 66000000
#define CFG_SMC_UCODE_PATCH 1 /* Relocate SMC1 */
@@ -299,7 +302,12 @@
* 64 Refresh cycle in ms per number of rows
*/
#define CFG_PTA_PER_CLK ((4096 * 64 * 1000) / (4 * 64))
-/* HS HS noch zu setzen */
+
+/* GPIO/PIGGY on CS3 initialization values
+*/
+#define CFG_PIGGY_BASE (0x30000000)
+#define CFG_OR3_PRELIM (0xfe000d24)
+#define CFG_BR3_PRELIM (0x30000401)
/*
* Internal Definitions
@@ -318,7 +326,7 @@
#define CONFIG_OF_BOARD_SETUP 1
#define OF_CPU "PowerPC,866@0"
-#define OF_SOC "soc@f0000000"
+#define OF_SOC "soc@fff00000"
#define OF_TBCLK (bd->bi_busfreq / 4)
#define OF_STDOUT_PATH "/soc/cpm/serial@a80"