From dfd441d1a511ec48ac9de61000203dda5f52dcfe Mon Sep 17 00:00:00 2001 From: Ionela Voinescu Date: Tue, 11 Nov 2014 13:39:18 +0000 Subject: [PATCH] urara: add config of SPI bus and correct selection of winbond flash Urara uses SPFI interface 1 and Winbond SPI NOR flash. BRANCH=none BUG=chrome-os-partner:31438 TEST=with the fix of the Winbond driver (next patch) the bootblock successfully probes the Windbond device on the FPGA board. Console log below: coreboot-4.0 bootblock Tue Nov 11 07:05:48 PST 2014 starting... SF: Detected W25Q16 with page size 1000, total 200000 Change-Id: Ia848eac5b4a94bf95297c928b5447463c90d89eb Signed-off-by: Patrick Georgi Original-Commit-Id: 38386715c52526edbe9ad356945849e21799fd94 Original-Change-Id: Ic27b60adc26bf244e7a15b5257e94df4b9d88249 Original-Signed-off-by: Ionela Voinescu Original-Reviewed-on: https://chromium-review.googlesource.com/229030 Original-Reviewed-by: Vadim Bendebury Reviewed-on: http://review.coreboot.org/9809 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/urara/Kconfig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/urara/Kconfig b/src/mainboard/google/urara/Kconfig index bee188a389..e065422fb2 100644 --- a/src/mainboard/google/urara/Kconfig +++ b/src/mainboard/google/urara/Kconfig @@ -27,7 +27,7 @@ config BOARD_SPECIFIC_OPTIONS select BOARD_ID_SUPPORT select BOOTBLOCK_CONSOLE select MAINBOARD_HAS_CHROMEOS - select CONFIG_SPI_FLASH_WINBOND + select SPI_FLASH_WINBOND select CPU_IMGTEC_PISTACHIO select COMMON_CBFS_SPI_WRAPPER select MAINBOARD_HAS_BOOTBLOCK_INIT @@ -58,4 +58,8 @@ config CONSOLE_SERIAL_UART_ADDRESS depends on DRIVERS_UART default 0xB8101500 +config BOOT_MEDIA_SPI_BUS + int + default 1 + endif