mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
ARM: display5: Fix CS check after moving some SPI related CONFIGs to Kconfig
After commit14453fbfad
("Convert CONFIG_SF_DEFAULT_* to Kconfig") and commitabe66b1b5d
("Convert CONFIG_ENV_SPI_* to Kconfig") ,which moved some SPI related CONFIG_* defines to Kconfig the display5 board has become unbootable as the SPI CS check condition had wrong value. This commit fixes this check and allows proper SPI NOR flash operation in SPL. Signed-off-by: Lukasz Majewski <lukma@denx.de>
This commit is contained in:
parent
35087fb4e0
commit
ad31f656ae
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ iomux_v3_cfg_t const ecspi2_pads[] = {
|
|||
|
||||
int board_spi_cs_gpio(unsigned int bus, unsigned int cs)
|
||||
{
|
||||
if (bus != 1 || cs != (IMX_GPIO_NR(5, 29) << 8))
|
||||
if (bus != 1 || cs != 0)
|
||||
return -EINVAL;
|
||||
|
||||
return IMX_GPIO_NR(5, 29);
|
||||
|
|
Loading…
Reference in a new issue