ADS5121: Fix NOR and CPLD ALE timing for rev 2 silicon
authorJohn Rigby <jrigby@freescale.com>
Thu, 28 Aug 2008 19:17:07 +0000 (13:17 -0600)
committerJohn Rigby <jrigby@freescale.com>
Thu, 28 Aug 2008 19:36:43 +0000 (13:36 -0600)
commit8a490422bed685c9491274ec997f62061d88620b
treed5d8b3471cacd352bf419431c619b742f5aa8589
parent33aa4eac66b71c797bbc13b3afe432a2132947d4
ADS5121: Fix NOR and CPLD ALE timing for rev 2 silicon

MPC5121 rev 2 silicon has a new register for controlling how long
CS is asserted after deassertion of ALE in multiplexed mode.

The default is to assert CS together with ALE.  The alternative
is to assert CS (ALEN+1)*LPC_CLK clocks after deassertion of ALE.

The default is wrong for the NOR flash and CPLD on the ADS5121.

This patch turns on the alternative for CS0 (NOR) and CS2 (CPLD)
it does so conditionally based on silicon rev 2.0 or greater.

Signed-off-by: Martha J Marx <mmarx@silicontkx.com>
Signed-off-by: John Rigby <jrigby@freescale.com>
board/ads5121/ads5121.c
include/configs/ads5121.h
include/mpc512x.h