mainboard/asrock/e350m1: Avoid including early_serial.c
Use generic winbond romstage serial init symbols instead of model specific implementation. We do this on a case by case basis as some boards are ROMCC and so need to #include .c files. This is a step to migrate non-romcc boards to a more generic superio framework. Change-Id: I56f6d9ec77cd21a612cbbdb48634543f34a2e72c Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/5591 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
5a032c628b
commit
dbbc136c83
|
@ -32,7 +32,8 @@
|
||||||
#include "cpu/amd/car.h"
|
#include "cpu/amd/car.h"
|
||||||
#include "agesawrapper.h"
|
#include "agesawrapper.h"
|
||||||
#include "cpu/x86/bist.h"
|
#include "cpu/x86/bist.h"
|
||||||
#include "superio/winbond/w83627hf/early_serial.c"
|
#include <superio/winbond/common/winbond.h>
|
||||||
|
#include <superio/winbond/w83627hf/w83627hf.h>
|
||||||
#include "cpu/x86/lapic.h"
|
#include "cpu/x86/lapic.h"
|
||||||
#include "drivers/pc80/i8254.c"
|
#include "drivers/pc80/i8254.c"
|
||||||
#include "drivers/pc80/i8259.c"
|
#include "drivers/pc80/i8259.c"
|
||||||
|
@ -61,7 +62,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||||
sb_Poweron_Init();
|
sb_Poweron_Init();
|
||||||
|
|
||||||
post_code(0x31);
|
post_code(0x31);
|
||||||
w83627hf_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
winbond_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||||
console_init();
|
console_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue