]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
* Patch by Stephan Linz, 28 Oct 2003:
authorwdenk <wdenk>
Tue, 28 Oct 2003 09:14:21 +0000 (09:14 +0000)
committerwdenk <wdenk>
Tue, 28 Oct 2003 09:14:21 +0000 (09:14 +0000)
  fix init sequence error for NIOS port

* Allow lowercase spelling for IceCube_5200; support MPC5200LITE name

* Add CONFIG_VERSION_VARIABLE to TRAB configuration

CHANGELOG
Makefile
include/configs/trab.h
lib_nios/board.c

index afae7d205478e7b4559f359ce4a6870ea494e654..b391732e6d352f0ba993d8cbde2e0e4ffa5fa55a 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,13 @@
 Changes for U-Boot 1.0.0:
 ======================================================================
 
+* Patch by Stephan Linz, 28 Oct 2003:
+  fix init sequence error for NIOS port
+
+* Allow lowercase spelling for IceCube_5200; support MPC5200LITE name
+
+* Add CONFIG_VERSION_VARIABLE to TRAB configuration
+
 * Patch by Xiao Xianghua, 23 Oct 2003:
   small patch for mpc85xx
 
index 67ec5fb1a44caef048e4ce9c937b70c23d1292cf..df2dfad5327ae89e38c8ff84d76b732d47d5f42a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -203,14 +203,16 @@ cmi_mpc5xx_config:        unconfig
 #########################################################################
 ## MPC5xxx Systems
 #########################################################################
+MPC5200LITE            \
+icecube_5200_config    \
 IceCube_5200_config    \
 IceCube_5100_config:           unconfig
        @ >include/config.h
-       @[ -z "$(findstring _5200,$@)" ] || \
+       @[ -z "$(findstring 5200,$@)" ] || \
                { echo "#define CONFIG_MPC5200"         >>include/config.h ; \
                  echo "... with MPC5200 processor" ; \
                }
-       @[ -z "$(findstring _5100,$@)" ] || \
+       @[ -z "$(findstring 5100,$@)" ] || \
                { echo "#define CONFIG_MGT5100"         >>include/config.h ; \
                  echo "... with MGT5100 processor" ; \
                }
index e7d1b263e6e7094d921e4e0964c90b88308a3eea..4d37807e7d6ca83331c3ece3bf74fcb6d000d081 100644 (file)
@@ -62,6 +62,8 @@
 #define CFG_DEVICE_NULLDEV      1      /* enble null device            */
 #define CONFIG_SILENT_CONSOLE   1      /* enable silent startup        */
 
+#define CONFIG_VERSION_VARIABLE        1       /* include version env variable */
+
 /***********************************************************
  * I2C stuff:
  * the TRAB is equipped with an ATMEL 24C04 EEPROM at
index 8718fecc83cec857d4fdda1cf4f5e31069cd5f3c..ff0d9f5c769d9f1fc9899277ce4c9e069d53632b 100644 (file)
@@ -132,12 +132,6 @@ void board_init (void)
        bd->bi_sramstart= CFG_SRAM_BASE;
        bd->bi_sramsize = CFG_SRAM_SIZE;
        bd->bi_baudrate = CONFIG_BAUDRATE;
-       bd->bi_ip_addr = getenv_IPaddr ("ipaddr");
-       s = getenv ("ethaddr");
-       for (i = 0; i < 6; ++i) {
-               bd->bi_enetaddr[i] = s ? simple_strtoul (s, &e, 16) : 0;
-               if (s) s = (*e) ? e + 1 : e;
-       }
 
        for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) {
                if ((*init_fnc_ptr) () != 0) {
@@ -151,6 +145,13 @@ void board_init (void)
        malloc_bin_reloc();
        env_relocate();
 
+       bd->bi_ip_addr = getenv_IPaddr ("ipaddr");
+       s = getenv ("ethaddr");
+       for (i = 0; i < 6; ++i) {
+               bd->bi_enetaddr[i] = s ? simple_strtoul (s, &e, 16) : 0;
+               if (s) s = (*e) ? e + 1 : e;
+       }
+
        devices_init();
        jumptable_init();
        console_init_r();