]> git.baikalelectronics.ru Git - uboot.git/commitdiff
configs: libretech: set SPI mode to 0
authorDa Xue <da@libre.computer>
Fri, 2 Jul 2021 21:11:40 +0000 (17:11 -0400)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 2 Jul 2021 21:59:27 +0000 (23:59 +0200)
Kconfig defaults to mode 3 if CONFIG_SF_DEFAULT_MODE is not set.
It becomes an issue since meson_spifc does not support SPI_CPHA.
Needed after commit aa8f2d0127 ("spi: Update speed/mode on change").

Fixes: aa8f2d0127 ("spi: Update speed/mode on change")
Signed-off-by:Da Xue <da@libre.computer>
[narmstrong: reformated commit reference & added Fixes tag]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
configs/libretech-ac_defconfig
configs/libretech-cc_v2_defconfig
configs/libretech-s905d-pc_defconfig
configs/libretech-s912-pc_defconfig

index ec51f2ad384ee369dc8bd20288306c0cb52be5eb..9abbcad3c0256691ccbbbf3bdb20b57bb50abbe0 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_MMC_MESON_GX=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_DM_SPI_FLASH=y
+CONFIG_SF_DEFAULT_MODE=0x0
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_PHY_MESON_GXL=y
index 97c8a9e47b0bedbfac3b9446fd6fa22f958ca006..7dc6ed2f29ce9d420b1c34df7bad49a4d2f34f63 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_MMC_MESON_GX=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_DM_SPI_FLASH=y
+CONFIG_SF_DEFAULT_MODE=0x0
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_PHY_MESON_GXL=y
 CONFIG_DM_ETH=y
index c0301a0aa0a0920e5ba976ed92e66386d95e977a..93523c23cf6110c96a047868b2290b80e25269e0 100644 (file)
@@ -36,6 +36,7 @@ CONFIG_SARADC_MESON=y
 CONFIG_MMC_MESON_GX=y
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
+CONFIG_SF_DEFAULT_MODE=0x0
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH=y
index e2faea6242ce88e1690b983a74eb073212051303..669f000f7fbad58da19b5a2a18b422131122b9b2 100644 (file)
@@ -35,6 +35,7 @@ CONFIG_SARADC_MESON=y
 CONFIG_MMC_MESON_GX=y
 CONFIG_MTD=y
 CONFIG_DM_SPI_FLASH=y
+CONFIG_SF_DEFAULT_MODE=0x0
 CONFIG_SPI_FLASH_GIGADEVICE=y
 CONFIG_PHY_REALTEK=y
 CONFIG_DM_ETH=y