summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/barebox-arm.h
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2024-02-20 10:30:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-02-23 08:30:30 +0100
commitf6c56c2011c3ca22fcfbe9fabf94e61743f2cc7e (patch)
treed27b368f097b97614a8add3844f4d1baecefbf24 /arch/arm/include/asm/barebox-arm.h
parentb9c420653af2843d4208b0783d2e4668c0d2afb9 (diff)
downloadbarebox-f6c56c2011c3ca22fcfbe9fabf94e61743f2cc7e.tar.gz
barebox-f6c56c2011c3ca22fcfbe9fabf94e61743f2cc7e.tar.xz
mci: atmel_mci: fix zeroing of block length on AT91SAM9263
We don't read back ATMCI_MR, but instead set up the value once and keep writing it on every reset. On the SAM9263, but not on the later SAM9x5, the ATMCI_MR register also includes a field for the block length. Not taking that into account means that we zero the block length on every reset. While the effect of this zeroing is likely limited, because we set the block length on every transfer via ATMCI_BLKR, it would be less surprising and more robust against future change to not intermittently zero the block length via the MR register. Reviewed-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20240220093100.1539120-3-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/include/asm/barebox-arm.h')
0 files changed, 0 insertions, 0 deletions