Message ID | 1535549696-17222-3-git-send-email-kostap@marvell.com |
---|---|
State | Accepted |
Commit | d3c72c5dc1396ecfc31bb4a8e322457a8c916aec |
Delegated to: | Stefan Roese |
Headers | show |
Series | Fixes to Marvell A38x platforms | expand |
On 29.08.2018 15:34, kostap@marvell.com wrote: > From: Konstantin Porotchkin <kostap@marvell.com> > > Add definitions for CONFIG_ENV_SPI_BUS and CONFIG_ENV_SPI_CS > to Armada-388-GP board configuration > > Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> > Cc: Igal Liberman <igall@marvell.com> > Cc: Stefan Roese <sr@denx.de> > --- > include/configs/db-88f6820-gp.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h > index ac810b0..f2aa21a 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 > Applied to u-boot-marvell/master Thanks, Stefan
diff --git a/include/configs/db-88f6820-gp.h b/include/configs/db-88f6820-gp.h index ac810b0..f2aa21a 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