From 228088ea5276ad6dbcd7b145c89afb7aa6b8b203 Mon Sep 17 00:00:00 2001 From: Jarried Lin Date: Thu, 8 Aug 2024 17:45:03 +0800 Subject: mb/google/rauru: Initialize flash controller in bootblock Initialize SPI NOR Flash Controller (SNFC) in the bootblock. TEST=read nor flash data successfully. BUG=b:317009620 Change-Id: I88960ce7a50f67ea6f402884b714cb205836a6d8 Signed-off-by: Noah Shen Reviewed-on: https://review.coreboot.org/c/coreboot/+/83924 Reviewed-by: Yidi Lin Reviewed-by: Yu-Ping Wu Tested-by: build bot (Jenkins) --- src/mainboard/google/rauru/bootblock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/rauru/bootblock.c') diff --git a/src/mainboard/google/rauru/bootblock.c b/src/mainboard/google/rauru/bootblock.c index 97d363f2f2..a896b72feb 100644 --- a/src/mainboard/google/rauru/bootblock.c +++ b/src/mainboard/google/rauru/bootblock.c @@ -1,8 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include void bootblock_mainboard_init(void) { - /* TODO: add mainboard init for bootblock */ + mtk_snfc_init(); } -- cgit v1.2.3