summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/ibexpeak
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-10-10 15:06:33 +0200
committerNico Huber <nico.h@gmx.de>2019-10-13 11:07:00 +0000
commitb9c9cd75e71edf2fb9b34c451e7ad74a5200de1d (patch)
treeb5b3a4327f21a40011605347c2a3694bac6e6efa /src/southbridge/intel/ibexpeak
parentb33d8ce5c7cb71117a7a65a0775c5a16c7bc4517 (diff)
sb/intel/ibexpeak: Move some early PCH init after console init
Some of the initialization isn't necessary before console INIT is done. EHCI debug still works fine on the Lenovo Thinkpad X201. Change-Id: I0c33efd98844f7188e0258cf9f90049d45145e7c Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35949 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/intel/ibexpeak')
-rw-r--r--src/southbridge/intel/ibexpeak/early_pch.c6
-rw-r--r--src/southbridge/intel/ibexpeak/pch.h1
2 files changed, 6 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/early_pch.c b/src/southbridge/intel/ibexpeak/early_pch.c
index 2707eb2cb8..ccd8f74431 100644
--- a/src/southbridge/intel/ibexpeak/early_pch.c
+++ b/src/southbridge/intel/ibexpeak/early_pch.c
@@ -80,10 +80,14 @@ static void pch_default_disable(void)
RCBA32(FD2) = 1;
}
-void early_pch_init(void)
+void pch_pre_console_init(void)
{
early_lpc_init();
mainboard_lpc_init();
+}
+
+void early_pch_init(void)
+{
early_gpio_init();
/* TODO, make this configurable */
pch_setup_cir(NEHALEM_MOBILE);
diff --git a/src/southbridge/intel/ibexpeak/pch.h b/src/southbridge/intel/ibexpeak/pch.h
index b9632371ac..1449ee914d 100644
--- a/src/southbridge/intel/ibexpeak/pch.h
+++ b/src/southbridge/intel/ibexpeak/pch.h
@@ -62,6 +62,7 @@ int smbus_block_read(unsigned device, unsigned cmd, u8 bytes, u8 *buf);
int smbus_block_write(unsigned device, unsigned cmd, u8 bytes, const u8 *buf);
#endif
+void pch_pre_console_init(void);
void early_pch_init(void);
void early_thermal_init(void);