ppc4xx: Big cleanup of PPC4xx defines
[platform/kernel/u-boot.git] / board / amcc / bamboo / flash.c
index 001348a..7bf877d 100644 (file)
@@ -94,7 +94,7 @@ unsigned long flash_init(void)
                 * Boot Settings in IIC EEprom address 0xA8 or 0xA4
                 * Read Serial Device Strap Register1 in PPC440EP
                 */
-               mfsdr(sdr_sdstp1, val);
+               mfsdr(SDR0_SDSTP1, val);
                boot_selection  = val & SDR0_SDSTP1_BOOT_SEL_MASK;
                ebc_boot_size   = val & SDR0_SDSTP1_EBC_ROM_BS_MASK;