u-boot-brain/arch
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
..
arm kw_spi: fix clock prescaler computation 2012-09-03 17:28:51 +05:30
avr32 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
blackfin Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
m68k global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
microblaze global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
mips global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
nds32 nds32: fix unused pmu_init warning 2012-08-11 00:43:28 +08:00
nios2 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
openrisc openrisc: Work around potential relocation issues 2012-08-09 23:37:45 +02:00
powerpc Consolidate bootcount code into drivers/bootcount 2012-09-01 14:26:02 +02:00
sandbox global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
sh sh: tmu: Removed arch/sh/include/asm/clk.h 2012-08-21 15:00:34 +09:00
sparc global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
x86 global_data: unify global flag defines 2012-08-09 21:46:32 +02:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00