summaryrefslogtreecommitdiffstats
path: root/src/mainboard/intel/dcp847ske/early_southbridge.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-12 16:42:33 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-18 11:46:26 +0000
commit9c538348d8ccaef2c3dd6b898a1f44b00ea59690 (patch)
tree79eac3af79546b14b110b059e31eb18d33de4ce0 /src/mainboard/intel/dcp847ske/early_southbridge.c
parent934b8da442a04978c6320299c616d3e8f05cb731 (diff)
downloadcoreboot-9c538348d8ccaef2c3dd6b898a1f44b00ea59690.tar.gz
coreboot-9c538348d8ccaef2c3dd6b898a1f44b00ea59690.tar.bz2
coreboot-9c538348d8ccaef2c3dd6b898a1f44b00ea59690.zip
nb/intel/sandybridge: Make the mainboard_rcba_config hook optional
This also changes the name to mainboard_late_rcba_config to better reflect what it does. This adds an empty weakly linked default. The rationale behind this change is that without an implementation of the hook some features might not work but that the result is likely still able to boot, so it can be made optional. Change-Id: I1897d0f5ca7427d304a425f5256cd43c088ff936 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36781 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/intel/dcp847ske/early_southbridge.c')
-rw-r--r--src/mainboard/intel/dcp847ske/early_southbridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/dcp847ske/early_southbridge.c b/src/mainboard/intel/dcp847ske/early_southbridge.c
index 7f3a58d0f25d..1cd58b0ba5df 100644
--- a/src/mainboard/intel/dcp847ske/early_southbridge.c
+++ b/src/mainboard/intel/dcp847ske/early_southbridge.c
@@ -31,7 +31,7 @@ void pch_enable_lpc(void)
{
}
-void mainboard_rcba_config(void)
+void mainboard_late_rcba_config(void)
{
/* Disable devices */
RCBA32(FD) |= PCH_DISABLE_P2P | PCH_DISABLE_XHCI;