AMD K8 platforms must use CAR so it makes sense to use the PRINK_IN_CAR

option.
This patch converts the following patches to use PRTINK_IN_CAR
amd/serngeti_cheetah
msi/ms9185
msi/ms9828
supermicro/h8dmr

Signed-off-by: Marc Jones <marc.jones@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3617 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Marc Jones 2008-09-29 22:59:23 +00:00
parent b246158f77
commit 2080bd9a41
7 changed files with 12 additions and 19 deletions

View File

@ -286,7 +286,7 @@ default CONFIG_GDB_STUB=0
## ##
## The Serial Console ## The Serial Console
## ##
default CONFIG_USE_PRINTK_IN_CAR=0 default CONFIG_USE_PRINTK_IN_CAR=1
# To Enable the Serial Console # To Enable the Serial Console
default CONFIG_CONSOLE_SERIAL8250=1 default CONFIG_CONSOLE_SERIAL8250=1

View File

@ -24,11 +24,6 @@
#if CONFIG_USE_INIT == 0 #if CONFIG_USE_INIT == 0
#include "lib/memcpy.c" #include "lib/memcpy.c"
#if CONFIG_USE_PRINTK_IN_CAR == 1
#include "lib/uart8250.c"
#include "console/vtxprintf.c"
#include "arch/i386/lib/printk_init.c"
#endif
#endif #endif
#include "arch/i386/lib/console.c" #include "arch/i386/lib/console.c"

View File

@ -33,6 +33,7 @@
#include "option_table.h" #include "option_table.h"
#include "pc80/mc146818rtc_early.c" #include "pc80/mc146818rtc_early.c"
#if 0 #if 0
static void post_code(uint8_t value) { static void post_code(uint8_t value) {
#if 1 #if 1
@ -64,11 +65,6 @@ static void post_code(uint8_t value) {
#if CONFIG_USE_INIT == 0 #if CONFIG_USE_INIT == 0
#include "lib/memcpy.c" #include "lib/memcpy.c"
#if CONFIG_USE_PRINTK_IN_CAR == 1
#include "lib/uart8250.c"
#include "console/vtxprintf.c"
#include "arch/i386/lib/printk_init.c"
#endif
#endif #endif
#include "northbridge/amd/amdk8/debug.c" #include "northbridge/amd/amdk8/debug.c"
#include "cpu/amd/mtrr/amd_earlymtrr.c" #include "cpu/amd/mtrr/amd_earlymtrr.c"

View File

@ -104,7 +104,7 @@ uses LIFT_BSP_APIC_ID
uses CONFIG_PCI_64BIT_PREF_MEM uses CONFIG_PCI_64BIT_PREF_MEM
uses CONFIG_LB_MEM_TOPK uses CONFIG_LB_MEM_TOPK
uses CONFIG_USE_PRINTK_IN_CAR
### ###
### Build options ### Build options
@ -222,7 +222,7 @@ default USE_DCACHE_RAM=1
default DCACHE_RAM_BASE=0xcc000 default DCACHE_RAM_BASE=0xcc000
default DCACHE_RAM_SIZE=0x04000 default DCACHE_RAM_SIZE=0x04000
default DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000 default DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000
default CONFIG_USE_INIT=0 default CONFIG_USE_INIT=0
## ##
## Build code to setup a generic IOAPIC ## Build code to setup a generic IOAPIC
@ -287,6 +287,7 @@ default CONFIG_GDB_STUB=0
## ##
## The Serial Console ## The Serial Console
## ##
default CONFIG_USE_PRINTK_IN_CAR=1
# To Enable the Serial Console # To Enable the Serial Console
default CONFIG_CONSOLE_SERIAL8250=1 default CONFIG_CONSOLE_SERIAL8250=1

View File

@ -100,6 +100,7 @@ uses SB_HT_CHAIN_ON_BUS0
uses CONFIG_COMPRESSED_PAYLOAD_LZMA uses CONFIG_COMPRESSED_PAYLOAD_LZMA
uses CONFIG_COMPRESSED_PAYLOAD_NRV2B uses CONFIG_COMPRESSED_PAYLOAD_NRV2B
uses CONFIG_PRECOMPRESSED_PAYLOAD uses CONFIG_PRECOMPRESSED_PAYLOAD
uses CONFIG_USE_PRINTK_IN_CAR
## ROM_SIZE is the size of boot ROM that this board will use. ## ROM_SIZE is the size of boot ROM that this board will use.
#512K bytes #512K bytes
@ -203,7 +204,6 @@ default ENABLE_APIC_EXT_ID=1
default APIC_ID_OFFSET=0x10 default APIC_ID_OFFSET=0x10
default LIFT_BSP_APIC_ID=0 default LIFT_BSP_APIC_ID=0
## ##
## Build code to setup a generic IOAPIC ## Build code to setup a generic IOAPIC
## ##
@ -267,7 +267,8 @@ default CONFIG_GDB_STUB=0
## ##
## The Serial Console ## The Serial Console
## ##
default CONFIG_USE_PRINTK_IN_CAR=1
# To Enable the Serial Console # To Enable the Serial Console
default CONFIG_CONSOLE_SERIAL8250=1 default CONFIG_CONSOLE_SERIAL8250=1

View File

@ -236,7 +236,7 @@ default DCACHE_RAM_SIZE=0x08000
default DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000 default DCACHE_RAM_GLOBAL_VAR_SIZE=0x01000
default CONFIG_USE_INIT=0 default CONFIG_USE_INIT=0
default CONFIG_AP_CODE_IN_CAR=0 default CONFIG_AP_CODE_IN_CAR=1
default MEM_TRAIN_SEQ=1 default MEM_TRAIN_SEQ=1
default WAIT_BEFORE_CPUS_INIT=1 default WAIT_BEFORE_CPUS_INIT=1
@ -305,7 +305,7 @@ default CONFIG_GDB_STUB=0
## ##
## The Serial Console ## The Serial Console
## ##
default CONFIG_USE_PRINTK_IN_CAR=0 default CONFIG_USE_PRINTK_IN_CAR=1
# To Enable the Serial Console # To Enable the Serial Console
default CONFIG_CONSOLE_SERIAL8250=1 default CONFIG_CONSOLE_SERIAL8250=1

View File

@ -12,7 +12,7 @@ __COMPRESSION__
romimage "normal" romimage "normal"
option USE_FAILOVER_IMAGE=0 option USE_FAILOVER_IMAGE=0
option USE_FALLBACK_IMAGE=0 option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x18000 option ROM_IMAGE_SIZE=0x20000
option COREBOOT_EXTRA_VERSION=".0-normal" option COREBOOT_EXTRA_VERSION=".0-normal"
payload __PAYLOAD__ payload __PAYLOAD__
end end
@ -20,7 +20,7 @@ end
romimage "fallback" romimage "fallback"
option USE_FAILOVER_IMAGE=0 option USE_FAILOVER_IMAGE=0
option USE_FALLBACK_IMAGE=1 option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x18000 option ROM_IMAGE_SIZE=0x20000
option COREBOOT_EXTRA_VERSION=".0-fallback" option COREBOOT_EXTRA_VERSION=".0-fallback"
payload __PAYLOAD__ payload __PAYLOAD__
end end