summaryrefslogtreecommitdiff
path: root/board/ads5121/ads5121_diu.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-07-13 14:45:06 +0200
committerWolfgang Denk <wd@denx.de>2008-07-13 14:45:06 +0200
commita0b4dc2063c2dfb9b411d0fd0692167c9f7f5e42 (patch)
tree72a005044402e1efdf4fb222613dbadc12274221 /board/ads5121/ads5121_diu.c
parentc90d115913a921c7548ad6eaaa0e13d4f484334c (diff)
parentd8eb5cf9a76263cf9c1e2038fd8f8cab28a8ed17 (diff)
downloadu-boot-imx-a0b4dc2063c2dfb9b411d0fd0692167c9f7f5e42.zip
u-boot-imx-a0b4dc2063c2dfb9b411d0fd0692167c9f7f5e42.tar.gz
u-boot-imx-a0b4dc2063c2dfb9b411d0fd0692167c9f7f5e42.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'board/ads5121/ads5121_diu.c')
-rw-r--r--board/ads5121/ads5121_diu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/ads5121/ads5121_diu.c b/board/ads5121/ads5121_diu.c
index 87cf0cb..26628d3 100644
--- a/board/ads5121/ads5121_diu.c
+++ b/board/ads5121/ads5121_diu.c
@@ -57,7 +57,7 @@ void diu_set_pixel_clock(unsigned int pixclock)
/* Modify PXCLK in GUTS CLKDVDR */
debug("DIU: Current value of CLKDVDR = 0x%08x\n", *clkdvdr);
temp = *clkdvdr & 0xFFFFFF00;
- *clkdvdr = temp | (pixval & 0x1F);
+ *clkdvdr = temp | (pixval & 0xFF);
debug("DIU: Modified value of CLKDVDR = 0x%08x\n", *clkdvdr);
}