nb/intel/sandybridge: Make the mainboard_early_init hook optional
This adds an empty weakly linked default. The rationale behind this change is that without the callback some features might not work but that the result is likely still able to boot, so it can be made optional. Change-Id: I62c8010aa81fc45d208e9293feb2f45b45f34a82 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36780 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
committed by
Patrick Georgi
parent
05d7d82d37
commit
dc2e7c6e0f
@@ -52,10 +52,6 @@ const struct southbridge_usb_port mainboard_usb_ports[] = {
|
||||
{ 1, 0, 6 },
|
||||
};
|
||||
|
||||
void mainboard_early_init(int s3resume)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_config_superio(void)
|
||||
{
|
||||
nuvoton_pnp_enter_conf_state(SIO_DEV);
|
||||
|
@@ -48,10 +48,6 @@ void mainboard_rcba_config(void)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_early_init(int s3resume)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_config_superio(void)
|
||||
{
|
||||
static const pnp_devfn_t GLOBAL_PSEUDO_DEV = PNP_DEV(0x2e, 0);
|
||||
|
@@ -51,10 +51,6 @@ void mainboard_rcba_config(void)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_early_init(int s3resume)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_config_superio(void)
|
||||
{
|
||||
nuvoton_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
|
||||
|
@@ -53,10 +53,6 @@ const struct southbridge_usb_port mainboard_usb_ports[] = {
|
||||
{ 1, 0, 6 },
|
||||
};
|
||||
|
||||
void mainboard_early_init(int s3resume)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_config_superio(void)
|
||||
{
|
||||
/* Enable UART */
|
||||
|
@@ -56,10 +56,6 @@ const struct southbridge_usb_port mainboard_usb_ports[] = {
|
||||
{ 0, 2, 6 } /* Port 13: Unused. Asus propietary DEBUG_PORT ??? */
|
||||
};
|
||||
|
||||
void mainboard_early_init(int s3resume)
|
||||
{
|
||||
}
|
||||
|
||||
void mainboard_config_superio(void)
|
||||
{
|
||||
/* Setup COM/UART */
|
||||
|
Reference in New Issue
Block a user