summaryrefslogtreecommitdiff
path: root/src/mainboard/google/corsola/bootblock.c
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.corp-partner.google.com>2021-11-04 13:59:42 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-11-05 13:00:07 +0000
commitc4db2db3bf3806741dbb048f96b080911e2feaa8 (patch)
treea4b0204d9e6e41fde07e4368b490550765fdf54b /src/mainboard/google/corsola/bootblock.c
parent0d50892e841d751bfcb20fdd56adde4f1b244a26 (diff)
mb/google/corsola: Add NOR-Flash support
Add NOR-Flash drivers to pass verification of flash at verstage. TEST=boot to romstage BUG=b:202871018 Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com> Change-Id: Iee3dd336632b0cf998f5f7c1d118e01e8270e815 Reviewed-on: https://review.coreboot.org/c/coreboot/+/58838 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Diffstat (limited to 'src/mainboard/google/corsola/bootblock.c')
-rw-r--r--src/mainboard/google/corsola/bootblock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/bootblock.c b/src/mainboard/google/corsola/bootblock.c
index 99947c08b9..e9ae5cefe7 100644
--- a/src/mainboard/google/corsola/bootblock.c
+++ b/src/mainboard/google/corsola/bootblock.c
@@ -2,7 +2,9 @@
#include <bootblock_common.h>
#include <device/mmio.h>
+#include <soc/spi.h>
void bootblock_mainboard_init(void)
{
+ mtk_snfc_init(SPI_NOR_GPIO_SET0);
}