]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/esd/cms700/cms700.c
ppc4xx: Big cleanup of PPC4xx defines
[karo-tx-uboot.git] / board / esd / cms700 / cms700.c
index 658a26796a1b989974e71cec75f4159a74d88c3e..7a92401893d9f101171df0b05b5dfdde4b075c3a 100644 (file)
@@ -56,7 +56,7 @@ int board_early_init_f (void)
        /*
         * EBC Configuration Register: set ready timeout to 512 ebc-clks -> ca. 15 us
         */
-       mtebc (epcr, 0xa8400000); /* ebc always driven */
+       mtebc (EBC0_CFG, 0xa8400000); /* ebc always driven */
 
        /*
         * Reset CPLD via GPIO12 (CS3) pin
@@ -189,8 +189,9 @@ int do_eep_wren (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 }
 
 U_BOOT_CMD(eepwren,    2,      0,      do_eep_wren,
-          "Enable / disable / query EEPROM write access",
-          NULL);
+       "Enable / disable / query EEPROM write access",
+       ""
+);
 #endif /* #if defined(CONFIG_SYS_EEPROM_WREN) */
 
 /* ------------------------------------------------------------------------- */