mb/google/zork: Move variant_pcie_gpio_configure() to bootblock
On zork, bootblock is part of RW firmware in non-recovery mode, so PCIe GPIOs can be configured early on in bootblock rather than waiting until romstage. This change moves the call to variant_pcie_gpio_configure() to happen in bootblock and drops romstage.c file. BUG=b:154351731 Signed-off-by: Furquan Shaikh <furquan@google.com> Change-Id: Ic515304f35fe5623d58d6000efcb11fb9039e137 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43476 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
56f949cd0c
commit
bf9eb00c11
|
@ -12,4 +12,6 @@ void bootblock_mainboard_early_init(void)
|
|||
gpios = variant_early_gpio_table(&num_gpios);
|
||||
program_gpios(gpios, num_gpios);
|
||||
}
|
||||
|
||||
variant_pcie_gpio_configure();
|
||||
}
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#include <baseboard/variants.h>
|
||||
#include <soc/gpio.h>
|
||||
#include <soc/romstage.h>
|
||||
#include <console/console.h>
|
||||
|
||||
void mainboard_romstage_entry_s3(int s3_resume)
|
||||
{
|
||||
variant_pcie_gpio_configure();
|
||||
}
|
Loading…
Reference in New Issue