nb/intel/nehalem: Move romstage boilerplate to a common location
Move the mainboard_romstage_entry to a common location and provide mainboard specific callbacks. Change-Id: Ia827053617cead5d2cf8e9f06cb68c2cbb668ca9 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35771 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
@@ -65,6 +65,7 @@ int smbus_block_write(unsigned device, unsigned cmd, u8 bytes, const u8 *buf);
|
||||
void early_thermal_init(void);
|
||||
void southbridge_configure_default_intmap(void);
|
||||
void pch_setup_cir(int chipset_type);
|
||||
void mainboard_lpc_init(void);
|
||||
|
||||
enum current_lookup_idx {
|
||||
IF1_F57 = 0,
|
||||
@@ -84,9 +85,11 @@ struct southbridge_usb_port {
|
||||
enum current_lookup_idx current;
|
||||
int oc_pin;
|
||||
};
|
||||
|
||||
void early_usb_init(const struct southbridge_usb_port *portmap);
|
||||
|
||||
#ifndef __ROMCC__
|
||||
extern const struct southbridge_usb_port mainboard_usb_ports[14];
|
||||
#include <device/device.h>
|
||||
void pch_enable(struct device *dev);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user