[3/5] sifive: fu540: Mark the default env as SPI flash

Message ID 20200420140514.25847-4-jagan@amarulasolutions.com
State New
Headers show
Series
  • riscv: sifive/fu540: Booting from SPI
Related show

Commit Message

Jagan Teki April 20, 2020, 2:05 p.m. UTC
Mark the default U-Boot environment as SPI flash since
this is an on board flash device.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
 board/sifive/fu540/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Bin Meng April 20, 2020, 2:36 p.m. UTC | #1
On Mon, Apr 20, 2020 at 10:05 PM Jagan Teki <jagan@amarulasolutions.com> wrote:
>
> Mark the default U-Boot environment as SPI flash since
> this is an on board flash device.
>
> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> ---
>  board/sifive/fu540/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Patch

diff --git a/board/sifive/fu540/Kconfig b/board/sifive/fu540/Kconfig
index 43d01bab8d..7e49feba00 100644
--- a/board/sifive/fu540/Kconfig
+++ b/board/sifive/fu540/Kconfig
@@ -27,6 +27,7 @@  config BOARD_SPECIFIC_OPTIONS # dummy
 	def_bool y
 	select GENERIC_RISCV
 	select SUPPORT_SPL
+	select ENV_IS_IN_SPI_FLASH
 	imply CMD_DHCP
 	imply CMD_EXT2
 	imply CMD_EXT4