From: Konstantin Porotchkin Date: Wed, 29 Aug 2018 13:34:53 +0000 (+0300) Subject: fix: mvebu: Add SPI parameters for environment setup X-Git-Tag: v2018.11-rc1~114^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d3c72c5dc1396ecfc31bb4a8e322457a8c916aec;p=oweals%2Fu-boot.git fix: mvebu: Add SPI parameters for environment setup Add definitions for CONFIG_ENV_SPI_BUS and CONFIG_ENV_SPI_CS to Armada-388-GP board configuration Signed-off-by: Konstantin Porotchkin Cc: Igal Liberman Cc: Stefan Roese Signed-off-by: Stefan Roese --- diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index ac810b0cbc..f2aa21a43e 100644 --- a/include/configs/db-88f6820-gp.h +++ b/include/configs/db-88f6820-gp.h @@ -28,6 +28,12 @@ #define CONFIG_SYS_I2C_SLAVE 0x0 #define CONFIG_SYS_I2C_SPEED 100000 +/* + * SPI Flash configuration for the environemnt access + */ +#define CONFIG_ENV_SPI_BUS 0 +#define CONFIG_ENV_SPI_CS 0 + /* SPI NOR flash default params, used by sf commands */ #define CONFIG_SF_DEFAULT_SPEED 1000000 #define CONFIG_SF_DEFAULT_MODE SPI_MODE_3