mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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 <kostap@marvell.com> Cc: Igal Liberman <igall@marvell.com> Cc: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:

committed by
Stefan Roese

parent
25a17652c9
commit
d3c72c5dc1
@ -28,6 +28,12 @@
|
|||||||
#define CONFIG_SYS_I2C_SLAVE 0x0
|
#define CONFIG_SYS_I2C_SLAVE 0x0
|
||||||
#define CONFIG_SYS_I2C_SPEED 100000
|
#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 */
|
/* SPI NOR flash default params, used by sf commands */
|
||||||
#define CONFIG_SF_DEFAULT_SPEED 1000000
|
#define CONFIG_SF_DEFAULT_SPEED 1000000
|
||||||
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
|
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
|
||||||
|
Reference in New Issue
Block a user