Remove:
[coreboot.git] / src / mainboard / technologic / ts5300 / mainboard.c
index 551c3e0a840e675cc78c7f204338b5fd3fb26fad..29a08f57846e0f759ce08201c117d762d4fa8d22 100644 (file)
@@ -35,9 +35,6 @@ static void irqdump()
    - set ADDDECTL (now done in raminit.c in cpu/amd/sc520
 */
 static void enable_dev(struct device *dev) {
-#if !CONFIG_CBFS
-       extern unsigned char *rom_start, *rom_end;
-#endif
        volatile struct mmcrpic *pic = MMCRPIC;
        volatile struct mmcr *mmcr = MMCRDEFAULT;
 
@@ -141,15 +138,7 @@ static void enable_dev(struct device *dev) {
        mmcr->dmacontrol.extchanmapa = 0xf210;
        mmcr->dmacontrol.extchanmapb = 0xffff;
 
-#if !CONFIG_CBFS
-       /* hack for IDIOTIC need to fix rom_start */
-       printk_err("Patching rom_start due to sc520 limits\n");
-       rom_start = 0x09400000 + 0xe0000;
-       rom_end = rom_start + CONFIG_PAYLOAD_SIZE - 1;
-#endif
-
        printk_err("TS5300 EXIT %s\n", __func__);
-       
 }
 
 struct chip_operations mainboard_ops = {