Re: [PATCH] ARM: socfpga_defconfig: Remove QSPI Sector 4K size force

From: Dinh Nguyen
Date: Thu Apr 12 2018 - 09:33:27 EST




On 04/11/2018 10:20 AM, Thor Thayer wrote:
> Hi. Any comments on this patch?
>
> On 03/26/2018 02:50 PM, thor.thayer@xxxxxxxxxxxxxxx wrote:
>> From: Thor Thayer <thor.thayer@xxxxxxxxxxxxxxx>
>>
>> Remove QSPI Sector 4K size force which is causing QSPI boot
>> problems with the JFFS2 root filesystem.
>>
>> Fixes the following error:
>> ÂÂÂÂÂ "Magic bitmask 0x1985 not found at ..."
>>
>> Signed-off-by: Thor Thayer <thor.thayer@xxxxxxxxxxxxxxx>
>> ---
>> Â arch/arm/configs/socfpga_defconfig | 1 +
>> Â 1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/configs/socfpga_defconfig
>> b/arch/arm/configs/socfpga_defconfig
>> index 2620ce790db0..371fca4e1ab7 100644
>> --- a/arch/arm/configs/socfpga_defconfig
>> +++ b/arch/arm/configs/socfpga_defconfig
>> @@ -57,6 +57,7 @@ CONFIG_MTD_M25P80=y
>> Â CONFIG_MTD_NAND=y
>> Â CONFIG_MTD_NAND_DENALI_DT=y
>> Â CONFIG_MTD_SPI_NOR=y
>> +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
>> Â CONFIG_SPI_CADENCE_QUADSPI=y
>> Â CONFIG_OF_OVERLAY=y
>> Â CONFIG_OF_CONFIGFS=y
>>
>

I'll apply it and hopefully get into an v4.17 -rcX.

Dinh