Changeset 5119


Ignore:
Timestamp:
Feb 12, 2010, 12:00:10 AM (5 years ago)
Author:
oxygene
Message:

Fix AUTO_XIP_ROM_BASE issues on AMD boards with certain compilers,
and expose the error earlier in the build.

Signed-off-by: Patrick Georgi <patrick.georgi@…>
Acked-by: Patrick Georgi <patrick.georgi@…>

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/arch/i386/Makefile.inc

    r5115 r5119  
    8888
    8989$(obj)/mainboard/$(MAINBOARDDIR)/romstage.inc: $(src)/mainboard/$(MAINBOARDDIR)/romstage.c $(OPTION_TABLE_H) $(obj)/build.h
    90         $(CC) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -include $(obj)/build.h -I$(src) -I. -c -S $< -o - | sed -e 's/\.rodata/.rom.data/g' -e 's/\.text/.section .rom.text/g' > $@.tmp
     90        $(CC) $(CFLAGS) $(CPPFLAGS) $(DEBUG_CFLAGS) -include $(obj)/build.h -I$(src) -I. -c -S $< -o $@.tmp1
     91        sed -e 's/\.rodata/.rom.data/g' -e 's/\.text/.section .rom.text/g' $@.tmp1 > $@.tmp
    9192        mv $@.tmp $@
     93        rm -f $@.tmp1
    9294endif
    9395endif
  • trunk/src/cpu/amd/mtrr/amd_earlymtrr.c

    r5118 r5119  
    4444#if defined(CONFIG_XIP_ROM_SIZE)
    4545#if defined(CONFIG_TINY_BOOTBLOCK) && CONFIG_TINY_BOOTBLOCK
     46extern unsigned long AUTO_XIP_ROM_BASE;
    4647#define REAL_XIP_ROM_BASE AUTO_XIP_ROM_BASE
    4748#else
  • trunk/src/cpu/x86/mtrr/earlymtrr.c

    r5118 r5119  
    102102#if defined(CONFIG_XIP_ROM_SIZE)
    103103#if defined(CONFIG_TINY_BOOTBLOCK) && CONFIG_TINY_BOOTBLOCK
     104extern unsigned long AUTO_XIP_ROM_BASE;
    104105#define REAL_XIP_ROM_BASE AUTO_XIP_ROM_BASE
    105106#else
Note: See TracChangeset for help on using the changeset viewer.