[PATCH] configs: libretech: set SPI mode to 0
Marek Vasut
marex at denx.de
Sat Jul 3 00:26:51 CEST 2021
On 7/3/21 12:01 AM, Neil Armstrong wrote:
[...]
>> diff --git a/configs/libretech-s912-pc_defconfig b/configs/libretech-s912-pc_defconfig
>> index e2faea6242..669f000f7f 100644
>> --- a/configs/libretech-s912-pc_defconfig
>> +++ b/configs/libretech-s912-pc_defconfig
>> @@ -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
>> --
>> 2.30.2
>>
>>
>
> Thanks,
> Applying to u-boot-amlogic & sending PR to have it in this release
I have a feeling the real fix would be to revisit
14453fbfad ("Convert CONFIG_SF_DEFAULT_* to Kconfig")
change the default mode to 0 in Kconfig and fix up the few boards which
use SPI mode 3 .
But that can wait after the release, since I think most of the board
configs did get updated with SF_DEFAULT_MODE=0 config. CCing Patrick.
More information about the U-Boot
mailing list