5e053af7a6
Add stubbed out GPIO configuration and perform GPIO initialization during bootblock and ramstage. BUG=b:174266035 TEST=Build Test Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com> Change-Id: Ia658ab4b466242cf8658abb239f19a9c0a03849a Reviewed-on: https://review.coreboot.org/c/coreboot/+/48065 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
12 lines
270 B
C
12 lines
270 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#include <baseboard/variants.h>
|
|
#include <bootblock_common.h>
|
|
|
|
void bootblock_mainboard_init(void)
|
|
{
|
|
const struct pad_config *pads;
|
|
size_t num;
|
|
pads = variant_early_gpio_table(&num);
|
|
gpio_configure_pads(pads, num);
|
|
}
|