summaryrefslogtreecommitdiff
path: root/board/freescale/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-10-21 00:10:34 +0200
committerWolfgang Denk <wd@denx.de>2007-10-21 00:10:34 +0200
commitb407f1a4b60fceeae04e23d38f2fae153266652c (patch)
tree9ca557a47c471b045124ec60cdc954b9f24d3361 /board/freescale/common
parent7ee6ba1a056e4061ab4cfde30127e332e7957afd (diff)
parent5441f61a3d8b7034f19fc1361183e936198e6dbb (diff)
downloadu-boot-imx-b407f1a4b60fceeae04e23d38f2fae153266652c.zip
u-boot-imx-b407f1a4b60fceeae04e23d38f2fae153266652c.tar.gz
u-boot-imx-b407f1a4b60fceeae04e23d38f2fae153266652c.tar.bz2
Merge branch 'master' of /home/git/u-boot/
Diffstat (limited to 'board/freescale/common')
-rw-r--r--board/freescale/common/pq-mds-pib.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/board/freescale/common/pq-mds-pib.c b/board/freescale/common/pq-mds-pib.c
index d79f2eb..e4f96e8 100644
--- a/board/freescale/common/pq-mds-pib.c
+++ b/board/freescale/common/pq-mds-pib.c
@@ -79,19 +79,19 @@ int pib_init(void)
printf("QOC3 ATM card on PMC0\n");
#elif defined(CONFIG_MPC832XEMDS)
- val = 0;
- i2c_write(0x26, 0x7, 1, &val, 1);
- val = 0xf7;
- i2c_write(0x26, 0x3, 1, &val, 1);
-
- val = 0;
- i2c_write(0x21, 0x6, 1, &val, 1);
- i2c_write(0x21, 0x7, 1, &val, 1);
-
- val = 0xdf;
- i2c_write(0x21, 0x2, 1, &val, 1);
- val = 0xef;
- i2c_write(0x21, 0x3, 1, &val, 1);
+ val8 = 0;
+ i2c_write(0x26, 0x7, 1, &val8, 1);
+ val8 = 0xf7;
+ i2c_write(0x26, 0x3, 1, &val8, 1);
+
+ val8 = 0;
+ i2c_write(0x21, 0x6, 1, &val8, 1);
+ i2c_write(0x21, 0x7, 1, &val8, 1);
+
+ val8 = 0xdf;
+ i2c_write(0x21, 0x2, 1, &val8, 1);
+ val8 = 0xef;
+ i2c_write(0x21, 0x3, 1, &val8, 1);
eieio();