summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/x11-lga1151-series/include
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-11-23 13:36:52 +0100
committerMichael Niewöhner <foss@mniewoehner.de>2020-11-29 07:27:47 +0000
commite88dacfa433840339355b7a634cd63f3fd22c5f7 (patch)
tree98536eda3ff8641f32c782147a499984ac3b05d6 /src/mainboard/supermicro/x11-lga1151-series/include
parentdc811c9ea3937b4265ce94c72e7dcba9fb122105 (diff)
mb/supermicro/x11-lga1151-series: switch from dev.init to mb_ops.init
GPIO needs to be initialized before the IPMI device gets initialized, so the GPIOs can be read/set by the code in CB:48096 and CB:48094. Thus, use mainboard_ops.init for GPIO configuration instead of using the indirection via a mainboard_enable function. To make it more visible, that we use chip.init, rename `mainboard_init` to `mainboard_chip_init`. Tested successfully on X11SSM-F including the IPMI changes. Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Change-Id: I192e69a34fa262b38bc40a95fb11c22a4041d0ae Reviewed-on: https://review.coreboot.org/c/coreboot/+/48083 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/supermicro/x11-lga1151-series/include')
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/include/mainboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/include/mainboard.h b/src/mainboard/supermicro/x11-lga1151-series/include/mainboard.h
index c63b434597..cad75f4baf 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/include/mainboard.h
+++ b/src/mainboard/supermicro/x11-lga1151-series/include/mainboard.h
@@ -5,6 +5,6 @@
#include <device/device.h>
-void variant_mainboard_init(struct device *dev);
+void variant_mainboard_init(void *chip_info);
#endif /* _BASEBOARD_X11_LGA1151_SERIES_H */