]> git.sur5r.net Git - u-boot/commitdiff
* Switch LWMON board default config from FRAM to EEPROM; LABEL_2002_12_21_0040
authorwdenk <wdenk>
Fri, 20 Dec 2002 23:42:25 +0000 (23:42 +0000)
committerwdenk <wdenk>
Fri, 20 Dec 2002 23:42:25 +0000 (23:42 +0000)
  in POST, EEPROM shows up on 8 addresses

CHANGELOG
include/configs/lwmon.h
include/version.h

index ef6e0b3ecc636038ed2ee14aa65ab71fb7c73e64..13ee632ad0afab1126e68340a6a9deb2c5ccf432 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,10 @@
+======================================================================
+Changes since U-Boot 0.2.0:
+======================================================================
+
+* Switch LWMON board default config from FRAM to EEPROM;
+  in POST, EEPROM shows up on 8 addresses
+
 ======================================================================
 Changes for U-Boot 0.2.0:
 ======================================================================
index d227fffae7bf3da06856eaa8d679af0adc659047..6ff64a3b91928b0ae3445f05cf005e89680fe639 100644 (file)
 #define CFG_I2C_KEYBD_ADDR     0x56    /* PIC LWE keyboard                     */
 #define CFG_I2C_PICIO_ADDR     0x57    /* PIC IO Expander                      */
 
-#define CONFIG_USE_FRAM                        /* Use FRAM instead of EEPROM   */
+#undef CONFIG_USE_FRAM                 /* Use FRAM instead of EEPROM   */
+
 #ifdef CONFIG_USE_FRAM /* use FRAM */
 #define CFG_I2C_EEPROM_ADDR    0x55    /* FRAM FM24CL64                */
 #define CFG_I2C_EEPROM_ADDR_LEN        2
 #define CFG_EEPROM_PAGE_WRITE_BITS     4
 
 /* List of I2C addresses to be verified by POST */
+#ifdef CONFIG_USE_FRAM
 #define I2C_ADDR_LIST  {  /*   CFG_I2C_AUDIO_ADDR, */  \
                                CFG_I2C_SYSMON_ADDR,    \
                                CFG_I2C_RTC_ADDR,       \
                                CFG_I2C_PICIO_ADDR,     \
                                CFG_I2C_EEPROM_ADDR,    \
                        }
+#else  /* Use EEPROM - which show up on 8 consequtive addresses */
+#define I2C_ADDR_LIST  {  /*   CFG_I2C_AUDIO_ADDR, */  \
+                               CFG_I2C_SYSMON_ADDR,    \
+                               CFG_I2C_RTC_ADDR,       \
+                               CFG_I2C_POWER_A_ADDR,   \
+                               CFG_I2C_POWER_B_ADDR,   \
+                               CFG_I2C_KEYBD_ADDR,     \
+                               CFG_I2C_PICIO_ADDR,     \
+                               CFG_I2C_EEPROM_ADDR+0,  \
+                               CFG_I2C_EEPROM_ADDR+1,  \
+                               CFG_I2C_EEPROM_ADDR+2,  \
+                               CFG_I2C_EEPROM_ADDR+3,  \
+                               CFG_I2C_EEPROM_ADDR+4,  \
+                               CFG_I2C_EEPROM_ADDR+5,  \
+                               CFG_I2C_EEPROM_ADDR+6,  \
+                               CFG_I2C_EEPROM_ADDR+7,  \
+                       }
+#endif /* CONFIG_USE_FRAM */
 
 /*-----------------------------------------------------------------------
  * Cache Configuration
index 5a95754697bd13879ddb97da56d160b326536b27..b501028bd5c8e3d2d6d43d81154c09c2ac4b1f1b 100644 (file)
@@ -24,6 +24,6 @@
 #ifndef        __VERSION_H__
 #define        __VERSION_H__
 
-#define        U_BOOT_VERSION  "U-Boot 0.2.0"
+#define        U_BOOT_VERSION  "U-Boot 0.2.1"
 
 #endif /* __VERSION_H__ */