diff options
author | Mario Scheithauer <mario.scheithauer@siemens.com> | 2017-03-27 13:25:57 +0200 |
---|---|---|
committer | Werner Zeh <werner.zeh@siemens.com> | 2017-03-29 06:31:52 +0200 |
commit | 2d98120d3b4740c45714b1c75230490bc281ce81 (patch) | |
tree | 486b1fcf82fb5cd2611dfd4e9f3f10fc55b72df4 /src/mainboard/siemens/mc_apl1/mainboard.c | |
parent | 2e2370075d24facd0f7ba0c63077f65321c8e9c9 (diff) | |
download | coreboot-2d98120d3b4740c45714b1c75230490bc281ce81.tar.xz |
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>
Diffstat (limited to 'src/mainboard/siemens/mc_apl1/mainboard.c')
-rw-r--r-- | src/mainboard/siemens/mc_apl1/mainboard.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainboard/siemens/mc_apl1/mainboard.c b/src/mainboard/siemens/mc_apl1/mainboard.c index 1c2dd19c61..692a076ee6 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 @@ enum cb_err mainboard_get_mac_address(struct device *dev, uint8_t mac[6]) 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 = { |