Adjust GPIO init to look like prior boards
Change-Id: I36ff193a1d540f1723f45ebd7326a02b24c090d7
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
bootblock-y += bootblock.c
|
bootblock-y += bootblock.c
|
||||||
ramstage-y += mainboard.c
|
ramstage-y += ramstage.c
|
||||||
ramstage-y += hda_verb.c
|
ramstage-y += hda_verb.c
|
||||||
|
@@ -1,12 +0,0 @@
|
|||||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
||||||
|
|
||||||
#include <device/device.h>
|
|
||||||
#include "gpio.h"
|
|
||||||
|
|
||||||
static void mainboard_init(void *chip_info) {
|
|
||||||
gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
|
|
||||||
}
|
|
||||||
|
|
||||||
struct chip_operations mainboard_ops = {
|
|
||||||
.init = mainboard_init,
|
|
||||||
};
|
|
8
src/mainboard/system76/galp5/ramstage.c
Normal file
8
src/mainboard/system76/galp5/ramstage.c
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||||
|
|
||||||
|
#include <soc/ramstage.h>
|
||||||
|
#include "gpio.h"
|
||||||
|
|
||||||
|
void mainboard_silicon_init_params(FSP_S_CONFIG *params) {
|
||||||
|
gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
|
||||||
|
}
|
Reference in New Issue
Block a user