[PATCH v4 5/6] mmc: bcmstb: Add support for bcm2712 SD controller

Ivan T. Ivanov iivanov at suse.de
Tue Jan 16 10:14:05 CET 2024


Hi,

> On 01-12 09:44, Ivan T. Ivanov wrote:
> On 01-11 23:07, Stefan Wahren wrote:
> > 
> > Hi Ivan,
> > 
> > Am 10.01.24 um 13:29 schrieb Ivan T. Ivanov:
> > > Borrow SD quirks from vendor Linux driver.
> > > 
> > > "BCM2712 unfortunately carries with it a perennial bug with the SD
> > > controller register interface present on previous chips (2711/2709/2708).
> > > Accesses must be dword-sized and a read-modify-write cycle to the 32-bit
> > > registers containing the COMMAND, TRANSFER_MODE, BLOCK_SIZE and
> > > BLOCK_COUNT registers tramples the upper/lower 16 bits of data written.
> > > BCM2712 does not seem to need the extreme delay between each write as on
> > > previous chips, just the serialisation of writes to these registers in a
> > > single 32-bit operation."
> > > 
> > > Signed-off-by: Ivan T. Ivanov <iivanov at suse.de>
> > did you noticed this commit/pull request?
> > 
> > https://github.com/raspberrypi/linux/pull/5842/commits/3c9d840dc933cfb13a77fd3c03356ee4adacc30b
> 
> Doh, no. Let me check.

And indeed, no special accessors are needed. I am preparing new version
and will send it shortly.

Thanks,
Ivan



More information about the U-Boot mailing list