mb/kontron/bsl6: Configure GPIOs using mainboard_ops

Hook up the mainboard_ops driver and configure the GPIOs using .init,
since mainboard_silicon_init_params() is meant for the configuration of
the FSP, not the GPIOs.

Change-Id: I6ab8d258c6f81c90d835cb8d07c6387d3de76d85
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47850
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2020-11-22 17:18:30 +00:00 committed by Michael Niewöhner
parent 3616e9c3b0
commit 48b80c134a
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,13 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <soc/ramstage.h> #include <device/device.h>
#include <mainboard/gpio.h> #include <mainboard/gpio.h>
void mainboard_silicon_init_params(FSP_SIL_UPD *params) static void init_mainboard(void *chip_info)
{ {
mainboard_configure_gpios(); mainboard_configure_gpios();
} }
struct chip_operations mainboard_ops = {
.init = init_mainboard,
};