[U-Boot] [PATCH 0/2] sunxi sun6i SPI support
Oskari Lemmela
oskari at lemmela.net
Sat Jan 5 17:52:14 UTC 2019
Minimal changes to support sun6i SPI with current sun4i SPI driver.
During testing I faced random spurious timeouts when reading 16MB
flash device. When debugging spurious timeouts those values seems
to be -1us.
Because timeouts are calculated as unsigned values tiny backward
timer jumps causes this kind of issues.
Oskari Lemmela (2):
arm: sunxi: allwinner spi driver sun6i support
arm: timer: sunxi: fix spurious timeout issues
arch/arm/cpu/armv8/generic_timer.c | 2 +-
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 1 +
arch/arm/include/asm/arch-sunxi/clock_sun9i.h | 1 +
drivers/spi/Kconfig | 4 +-
drivers/spi/sun4i_spi.c | 116 ++++++++++++++++--
5 files changed, 108 insertions(+), 16 deletions(-)
--
2.17.1
More information about the U-Boot
mailing list