diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-03-13 15:42:27 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-03-13 15:42:27 +0000 |
commit | be7f79867e4d989fc9cb7fb9e8b0b8ec55956875 (patch) | |
tree | f5ae688b318dfb7456351bb33a5a30f28bb9dedc /src/mainboard/amd | |
parent | cc46e73a0221d08a30c78adfc568f162cdda407d (diff) | |
download | coreboot-be7f79867e4d989fc9cb7fb9e8b0b8ec55956875.tar.xz |
This, ladies and gentlement, is commit #4000.
Use the (almost) same strict CFLAGS in v2 that we use on v3. And fix a few
include files and missing prototypes. Also, fix up the Config-abuild.lb files
to properly work for cross compiling.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4000 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/serengeti_cheetah_fam10/cache_as_ram_auto.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/cache_as_ram_auto.c b/src/mainboard/amd/serengeti_cheetah_fam10/cache_as_ram_auto.c index 26c624589c..d7b2379c24 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/cache_as_ram_auto.c +++ b/src/mainboard/amd/serengeti_cheetah_fam10/cache_as_ram_auto.c @@ -69,9 +69,13 @@ static void post_code(u8 value) { #include "northbridge/amd/amdfam10/amdfam10.h" #endif - #include "cpu/x86/lapic/boot_cpu.c" #include "northbridge/amd/amdfam10/reset_test.c" + +#include <console/loglevel.h> +void die(const char *msg); +int do_printk(int msg_level, const char *fmt, ...) __attribute__((format(printf, 2, 3))); +#define printk_emerg(fmt, arg...) do_printk(BIOS_EMERG ,fmt, ##arg) #include "cpu/x86/bist.h" |