Jarried Lin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/83924?usp=email )
Change subject: mb/google/rauru: Add NOR-Flash support ......................................................................
mb/google/rauru: Add NOR-Flash support
Initialize NOR-Flash in the bootblock.
TEST=read nor flash data successfully. BUG=b:317009620
Change-Id: I88960ce7a50f67ea6f402884b714cb205836a6d8 Signed-off-by: Noah Shen noah.shen@mediatek.corp-partner.google.com --- M src/mainboard/google/rauru/Kconfig M src/mainboard/google/rauru/bootblock.c 2 files changed, 6 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/24/83924/1
diff --git a/src/mainboard/google/rauru/Kconfig b/src/mainboard/google/rauru/Kconfig index 675dc1c..5bf1305 100644 --- a/src/mainboard/google/rauru/Kconfig +++ b/src/mainboard/google/rauru/Kconfig @@ -27,4 +27,8 @@ config MAINBOARD_PART_NUMBER string default "Rauru" if BOARD_GOOGLE_RAURU + +config BOOT_DEVICE_SPI_FLASH_BUS + int + default 8 endif diff --git a/src/mainboard/google/rauru/bootblock.c b/src/mainboard/google/rauru/bootblock.c index 97d363f..a896b72 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 <bootblock_common.h> +#include <soc/spi.h>
void bootblock_mainboard_init(void) { - /* TODO: add mainboard init for bootblock */ + mtk_snfc_init(); }