]> git.sur5r.net Git - u-boot/commitdiff
Make System IO Config Registers board configurable on MPC83xx
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jan 2006 17:12:57 +0000 (11:12 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jan 2006 17:12:57 +0000 (11:12 -0600)
Patch by Kumar Gala, 11 Jan 2006

CHANGELOG
cpu/mpc83xx/cpu_init.c
include/configs/MPC8349ADS.h
include/configs/TQM834x.h

index c1da98fc510ff38ad2ab83cdfd3b759848990631..4f4073346bd0c9f910ee03ca209c4cd2603cce5d 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,9 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* Make System IO Config Registers board configurable on MPC83xx
+  Patch by Kumar Gala, 11 Jan 2006
+
 * Add support for 28F256J3A flah (=> 64 MB) on PM520 board
 
 * Fix compiler problem with at91rm9200dk board.
index dcb34457b1096e0f39752096c56c4d0084262f56..e75b8b7fde1362c07fa3f7c6b4dfdabc319f04e4 100644 (file)
@@ -63,8 +63,12 @@ void cpu_init_f (volatile immap_t * im)
        im->sysconf.spcr |= SPCR_TBEN;
 
        /* System General Purpose Register */
-       im->sysconf.sicrh = SICRH_TSOBI1;
-       im->sysconf.sicrl = SICRL_LDP_A;
+#ifdef CFG_SICRH
+       im->sysconf.sicrh = CFG_SICRH;
+#endif
+#ifdef CFG_SICRL
+       im->sysconf.sicrl = CFG_SICRL;
+#endif
 
        /*
         * Memory Controller:
index d6d2fabeec88bd7f1f7ca028fba38abd6375749d..f7f09b8d1e4311f5bd2567ac4145bf049c082ff1 100644 (file)
        HRCWH_TSEC2M_IN_GMII )
 #endif
 
+/* System IO Config */
+#define CFG_SICRH      SICRH_TSOBI1
+#define CFG_SICRL      SICRL_LDP_A
+
 #define CFG_HID0_INIT 0x000000000
 
 #define CFG_HID0_FINAL CFG_HID0_INIT
index 41f44c5a37c977eb84009e3c3490910fc7f6089b..1cf66a99b4974fe6fc37ea07f71fc611663b83eb 100644 (file)
@@ -417,6 +417,10 @@ extern int tqm834x_num_flash_banks;
        HRCWH_TSEC2M_IN_GMII )
 #endif
 
+/* System IO Config */
+#define CFG_SICRH      SICRH_TSOBI1
+#define CFG_SICRL      SICRL_LDP_A
+
 /* i-cache and d-cache disabled */
 #define CFG_HID0_INIT          0x000000000
 #define CFG_HID0_FINAL         CFG_HID0_INIT