[PATCH 1/2] mtd: hyperbus: Introduce SFDP probe
Tudor Ambarus
tudor.ambarus at linaro.org
Tue Jan 23 23:41:21 PST 2024
On 1/24/24 07:26, Takahiro Kuwano wrote:
>>> + * This is the first time we're called. Set up the CFI stuff accordingly
>>> + * and return
>>> + */
>>> + if (!cfi->numchips)
>>> + return hyperbus_sfdp_chip_setup(map, cfi);
>> Ah, I need to study more. Would you please speed me up a little and tell
>> me more about the multi chip handling? Why is the probe called multiple
>> times?
>>
> For example, we can map 2x 1Gb(128MB) chips in single 256MB memory space.
> In this case, the probe is called twice. The first call is to set up CFI
> structure. The second call is to check if another chip really exists or not.
Do we have any hyperflash multi-chip devices upstreamed? If not, let's
remove the multi-chip logic and handle it when multi-chip is introduced.
More information about the linux-mtd
mailing list