siemens/mc_apl1: Adjust gpio settings
Adjust gpio settings according to the hardware layout.
Change-Id: I2f440e863c2e6f59298c500ac5aefa3b7386bcdf
Signed-off-by: Mario Scheithauer <mario.scheithauer@siemens.com>
Reviewed-on: https://review.coreboot.org/18995
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c
index 1c2dd19..692a076 100644
--- a/src/mainboard/siemens/mc_apl1/mainboard.c
+++ b/src/mainboard/siemens/mc_apl1/mainboard.c
@@ -19,6 +19,7 @@
#include <string.h>
#include <hwilib.h>
#include <i210.h>
+#include "brd_gpio.h"
#define MAX_PATH_DEPTH 12
#define MAX_NUM_MAPPINGS 10
@@ -100,7 +101,11 @@
static void mainboard_init(void *chip_info)
{
- /* Nothing Here Yet */
+ const struct pad_config *pads;
+ size_t num;
+
+ pads = brd_gpio_table(&num);
+ gpio_configure_pads(pads, num);
}
struct chip_operations mainboard_ops = {