u-boot/arch/arm/include/asm/arch-kirkwood
Valentin Longchamp 8203b201ea kw_spi: fix clock prescaler computation
The computation was not correct with low clock values: setting a 1MHz
clock would result in an overlap that would then configure a 25Mhz
clock.

This patch implements a correct computation method according to the
kirkwood functionnal spec. table 600 (Serial Memory Interface
Configuration Register).

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Holger Brunck <holger.brunck@keymile.com>
cc: Prafulla Wadaskar <prafulla@marvell.com>
Acked-by: Prafulla Wadaskar <Prafulla@marvell.com>

Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
2012-09-03 17:28:51 +05:30
..
config.h arm/kirkwood: protect the ENV_SPI #defines 2012-07-07 14:07:33 +02:00
cpu.h Kirkwood: print_cpuinfo fixed for valid devid revid 2010-10-13 09:35:58 +02:00
gpio.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
kirkwood.h Remove kirkwood-specifics from marvell EHCI driver 2012-02-12 10:11:27 +01:00
kw88f6192.h Move architecture-specific includes to arch/$ARCH/include/asm 2010-04-13 09:13:12 +02:00
kw88f6281.h Kirkwood: allow to override CONFIG_SYS_TCLK 2011-05-11 23:03:15 +02:00
mpp.h kirkwood: add save functionality kirkwood_mpp_conf function 2012-07-07 14:07:31 +02:00
spi.h kw_spi: fix clock prescaler computation 2012-09-03 17:28:51 +05:30