[SPAM] [PATCH 1/1] mtd: spi-nor: aspeed: set the decoding size to at least 2MB for AST2600

Cédric Le Goater clg at kaod.org
Tue Mar 8 05:28:48 AEDT 2022


On 3/7/22 08:57, Cédric Le Goater wrote:
> 
>> I tested with spi-mem v3 patch, it looks same issue appeared. (spi-model=mx25l800)
>>
>>
>> [    0.541050] spi-nor spi1.0: mx25l8005 (1024 Kbytes)
>> aspeed_smc_flash_set_segment CS0 segreg=0x0 [ 0x30000000 - 0x30000000 ]
>> aspeed_smc_flash_set_segment CS1 segreg=0x7f00010 [ 0x30100000 - 0x38000000 ]
>> [    0.541976] spi-aspeed-smc 1e630000.spi: Calibration area too uniform, using low speed
>> [    0.542267] spi-aspeed-smc 1e630000.spi: CE0 read buswidth:1 [0x000b0041]
>>
>> I think the model mx25l1606e you tested is 2MB flash.
> 
> Indeed. Thanks for the test of v3. We should send a followup patch
> for this 2MB restriction on the minimum size of the flash when the
> patchset is merged or I will if a v4 is asked for.

Here is an updated version for the spi-mem driver :

   https://github.com/legoater/linux/commit/418126725d11863b7b51b70ff507d1da6db192c3
Thanks,

C.


More information about the Linux-aspeed mailing list