summaryrefslogtreecommitdiff
path: root/src/mainboard/google/geralt/bootblock.c
diff options
context:
space:
mode:
authorRex-BC Chen <rex-bc.chen@mediatek.com>2022-06-13 19:47:43 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-07-07 13:08:34 +0000
commiteabd97020e19543ad4f60e2fb3bcff64ab25be0f (patch)
tree3e842ad8fa1fb3becaf9be446d194ae0f5a3485c /src/mainboard/google/geralt/bootblock.c
parentf61557669a1047c7c13f6577e8feec8d784080e5 (diff)
mb/google/geralt: Add NOR-Flash support
Initialize NOR-Flash in the bootblock. TEST=read nor flash data successfully. BUG=b:233720142 Signed-off-by: Bo-Chen Chen <rex-bc.chen@mediatek.com> Change-Id: I8ee24b5b24643bce57eb29682d6d0234a6fe8641 Reviewed-on: https://review.coreboot.org/c/coreboot/+/65622 Reviewed-by: Yidi Lin <yidilin@chromium.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/geralt/bootblock.c')
-rw-r--r--src/mainboard/google/geralt/bootblock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/geralt/bootblock.c b/src/mainboard/google/geralt/bootblock.c
index 0413ef2452..88be0ffec1 100644
--- a/src/mainboard/google/geralt/bootblock.c
+++ b/src/mainboard/google/geralt/bootblock.c
@@ -2,8 +2,9 @@
#include <bootblock_common.h>
#include <device/mmio.h>
+#include <soc/spi.h>
void bootblock_mainboard_init(void)
{
- /* TODO: add mainboard init for bootblock */
+ mtk_snfc_init();
}