commit | 7a95575b850c280e8496f3acafb5978d5c4c93bd | [log] [tgz] |
---|---|---|
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | Tue Jan 07 12:18:24 2020 +0200 |
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | Sun Jan 12 16:02:00 2020 +0000 |
tree | a88f50588398e45d9c733ac58744fa355d16afeb | |
parent | 3f882fafa069ce3c7cb39bdc80c73ade3f0daa46 [diff] |
asus/{p2b-x,p3b-f},intel/i440bx: Move mainboard_romstage_entry() Change-Id: I3598f548c2d122906fda09c85b5a1c82b0da993b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38255 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/southbridge/intel/i82371eb/early_smbus.c b/src/southbridge/intel/i82371eb/early_smbus.c index 917a3b4..f69cb93 100644 --- a/src/southbridge/intel/i82371eb/early_smbus.c +++ b/src/southbridge/intel/i82371eb/early_smbus.c
@@ -23,6 +23,12 @@ #include <device/smbus_host.h> #include "i82371eb.h" +void i82371eb_early_init(void) +{ + enable_smbus(); + enable_pm(); +} + void enable_smbus(void) { pci_devfn_t dev;
diff --git a/src/southbridge/intel/i82371eb/i82371eb.h b/src/southbridge/intel/i82371eb/i82371eb.h index 55242ef..b292beb 100644 --- a/src/southbridge/intel/i82371eb/i82371eb.h +++ b/src/southbridge/intel/i82371eb/i82371eb.h
@@ -21,6 +21,7 @@ void enable_smbus(void); void enable_pm(void); +void i82371eb_early_init(void); #if ENV_ROMSTAGE int smbus_read_byte(u8 device, u8 address);