To make use of HAVE_HIGH_TABLES following patch is needed. Also, it moves
[coreboot.git] / src / mainboard / asus / m2v-mx_se / Config.lb
index 7d9e430f02d05a621068e86251caddb55f930b4f..a1f291fd333399926ad9e7fd601b7a2dc4dbe409 100644 (file)
@@ -34,7 +34,8 @@ default CONFIG_ROM_PAYLOAD       = 1
 default _ROMBASE     = (CONFIG_ROM_PAYLOAD_START + PAYLOAD_SIZE)
 
 ##WARNING enable caching of whole ROM during CAR
-default XIP_ROM_SIZE =  ROM_SIZE
+##for 512KB flash
+default XIP_ROM_SIZE =  0x80000
 default XIP_ROM_BASE =  0xffffffff + 1 - XIP_ROM_SIZE
 
 arch i386 end 
@@ -63,9 +64,9 @@ if USE_DCACHE_RAM
   else
     makerule ./cache_as_ram_auto.inc
       depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
-      action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
-      action "perl -e 's/.rodata/.rom.data/g' -pi $@"
-      action "perl -e 's/.text/.section .rom.text/g' -pi $@"
+      action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
+      action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
+      action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
     end
   end
 end