summaryrefslogtreecommitdiff
path: root/board/liebherr
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-06-09 22:54:39 +0200
committerStefano Babic <sbabic@denx.de>2019-07-19 20:14:50 +0200
commitad31f656ae879cf655b911cae2203a1f0721c4c4 (patch)
treeaf37ea7bbe8c971998d03633dc7665c9672b592e /board/liebherr
parent35087fb4e0874c19cfef3e698f249befa97eae55 (diff)
ARM: display5: Fix CS check after moving some SPI related CONFIGs to Kconfig
After commit 14453fbfadc2 ("Convert CONFIG_SF_DEFAULT_* to Kconfig") and commit abe66b1b5dec ("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>
Diffstat (limited to 'board/liebherr')
-rw-r--r--board/liebherr/display5/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/liebherr/display5/common.c b/board/liebherr/display5/common.c
index 7b89d16970..8390d9a0f3 100644
--- a/board/liebherr/display5/common.c
+++ b/board/liebherr/display5/common.c
@@ -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);