summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-08-31 23:53:22 +0200
committerWolfgang Denk <wd@denx.de>2008-08-31 23:53:22 +0200
commit845842c1e4c465c895cdfcd013e162320d127048 (patch)
tree1a180a6218e098c2a280c45206c9b0d7e1abf5da /board
parent5d9a5efa4b332f442b54a755d49969123c3a8742 (diff)
parent6b5049d056cd8ef72d1f2f461ceb2d033d93f759 (diff)
downloadu-boot-imx-845842c1e4c465c895cdfcd013e162320d127048.zip
u-boot-imx-845842c1e4c465c895cdfcd013e162320d127048.tar.gz
u-boot-imx-845842c1e4c465c895cdfcd013e162320d127048.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-mpc5xxx
Diffstat (limited to 'board')
-rw-r--r--board/ads5121/ads5121.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/ads5121/ads5121.c b/board/ads5121/ads5121.c
index ba3d7d2..deaa292 100644
--- a/board/ads5121/ads5121.c
+++ b/board/ads5121/ads5121.c
@@ -25,6 +25,7 @@
#include <mpc512x.h>
#include <asm/bitops.h>
#include <command.h>
+#include <asm/processor.h>
#include <fdt_support.h>
#ifdef CONFIG_MISC_INIT_R
#include <i2c.h>
@@ -92,6 +93,9 @@ int board_early_init_f (void)
* Configure Flash Speed
*/
*((volatile u32 *)(CFG_IMMR + LPC_OFFSET + CS0_CONFIG)) = CFG_CS0_CFG;
+ if (SVR_MJREV (im->sysconf.spridr) >= 2) {
+ *((volatile u32 *)(CFG_IMMR + LPC_OFFSET + CS_ALE_TIMING_CONFIG)) = CFG_CS_ALETIMING;
+ }
/*
* Enable clocks
*/