[PATCH 1/2] mtd: hyperbus: Introduce SFDP probe
Takahiro Kuwano
tkuw584924 at gmail.com
Tue Jan 23 23:56:02 PST 2024
On 1/24/2024 4:41 PM, Tudor Ambarus wrote:
>
>
> 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.
I meant multiple packages of device (different chip-select, in other words)
are mapped to contiguous memory space. Not multi-chip in single package.
More information about the linux-mtd
mailing list