Fix compilation
Change-Id: Ie6e0bf1d4ad7829d0d76c716d241ac5c15e9c331
This commit is contained in:
@@ -65,7 +65,7 @@ config MAX_CPUS
|
||||
|
||||
config DIMM_MAX
|
||||
int
|
||||
default 2
|
||||
default 4 # Hack to make soc code work
|
||||
|
||||
config DIMM_SPD_SIZE
|
||||
int
|
||||
|
@@ -1,3 +1,3 @@
|
||||
bootblock-y += bootblock.c
|
||||
ramstage-y += ramstage.c
|
||||
ramstage-y += mainboard.c
|
||||
ramstage-y += hda_verb.c
|
||||
|
11
src/mainboard/system76/galp5/mainboard.c
Normal file
11
src/mainboard/system76/galp5/mainboard.c
Normal file
@@ -0,0 +1,11 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#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,
|
||||
};
|
@@ -1,10 +0,0 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#include <soc/ramstage.h>
|
||||
#include "gpio.h"
|
||||
|
||||
void mainboard_silicon_init_params(FSP_S_CONFIG *params) {
|
||||
/* Configure pads prior to SiliconInit() in case there's any
|
||||
* dependencies during hardware initialization. */
|
||||
cnl_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));
|
||||
}
|
Reference in New Issue
Block a user