mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
km/arm: set SPI NOR Flash default parameters
These parameters are used by the the sf probe command that are used by our update script and they therefore need to be set for all of our boards. The timing is the same as for the ENV SPI NOR Flash (since it's the same physical device) and takes the boco2 delay on the bus into account. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> cc: Holger Brunck <holger.brunck@keymile.com> Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>
This commit is contained in:
parent
491f6c2f29
commit
f46b4a1aad
1 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,10 @@
|
|||
#define CONFIG_CMD_SF
|
||||
#define CONFIG_SOFT_I2C /* I2C bit-banged */
|
||||
|
||||
/* SPI NOR Flash default params, used by sf commands */
|
||||
#define CONFIG_SF_DEFAULT_SPEED 8100000
|
||||
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_3
|
||||
|
||||
#if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
|
||||
#define CONFIG_ENV_SPI_BUS 0
|
||||
#define CONFIG_ENV_SPI_CS 0
|
||||
|
|
Loading…
Reference in a new issue