Use mainboard hook for HP DL165
The board incorrectly overrides the southbridge hook, so use the new mainboard hook instead. This change also activates the actual southbridge hook to enable decode of complete 4 MB flash memory region. Change-Id: I02c6fe89ae9ad4a7403f024fac875ebd88a8e142 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1831 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
parent
c1928e2872
commit
ff73306ec2
|
@ -90,7 +90,7 @@ config HEAP_SIZE
|
|||
hex
|
||||
default 0xc0000
|
||||
|
||||
config BOOTBLOCK_SOUTHBRIDGE_INIT
|
||||
config BOOTBLOCK_MAINBOARD_INIT
|
||||
string
|
||||
default "mainboard/hp/dl165_g6_fam10/bootblock.c"
|
||||
|
||||
|
|
|
@ -18,6 +18,9 @@ static inline void shc4307_exit_ext_func_mode(device_t dev)
|
|||
#define DBG_DEV PNP_DEV(SCH4307_CONFIG_PORT, 0x3)
|
||||
#define REGS_DEV PNP_DEV(SCH4307_CONFIG_PORT, 0xa)
|
||||
|
||||
/* FIXME: This appears to be a super-io initialisation,
|
||||
* placed in the mainboard directory.
|
||||
*/
|
||||
void shc4307_init(void)
|
||||
{
|
||||
shc4307_enter_ext_func_mode(CMOS_DEV);
|
||||
|
@ -43,6 +46,9 @@ void shc4307_init(void)
|
|||
shc4307_exit_ext_func_mode(CMOS_DEV);
|
||||
}
|
||||
|
||||
static void bootblock_southbridge_init(void) {
|
||||
static void bootblock_mainboard_init(void)
|
||||
{
|
||||
bootblock_northbridge_init();
|
||||
bootblock_southbridge_init();
|
||||
shc4307_init();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue