]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - board/zeus/update.c
rename CFG_ macros to CONFIG_SYS
[people/ms/u-boot.git] / board / zeus / update.c
index c76519f094fb28724fb056c7fc464e44cd469dc5..2f2a127f734d944a1e9fedfd7533c76f3bfe51c2 100644 (file)
@@ -67,12 +67,12 @@ u8 buf_zeus_pe[] = {
 static int update_boot_eeprom(void)
 {
        u32 len = 0x20;
-       u8 chip = CFG_I2C_EEPROM_ADDR;
+       u8 chip = CONFIG_SYS_I2C_EEPROM_ADDR;
        u8 *pbuf;
        u8 base;
        int i;
 
-       if (in_be32((void *)GPIO0_IR) & GPIO_VAL(CFG_GPIO_ZEUS_PE)) {
+       if (in_be32((void *)GPIO0_IR) & GPIO_VAL(CONFIG_SYS_GPIO_ZEUS_PE)) {
                pbuf = buf_zeus_pe;
                base = 0x40;
        } else {