[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
Mon Mar 7 18:57:57 AEDT 2022

> 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.

This patch can be applied to the current driver.



More information about the Linux-aspeed mailing list