summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Li <tony.li@freescale.com>2007-10-18 17:44:38 +0800
committerKim Phillips <kim.phillips@freescale.com>2007-10-18 10:05:34 -0500
commitd2646554f529a9577515eceb0ec5eceee18244ba (patch)
tree1b54753ae5992a493196dd3a560983ee84c7dce3
parentf147dd15e840230a3911c649b2a81c749d32db1c (diff)
downloadu-boot-imx-d2646554f529a9577515eceb0ec5eceee18244ba.zip
u-boot-imx-d2646554f529a9577515eceb0ec5eceee18244ba.tar.gz
u-boot-imx-d2646554f529a9577515eceb0ec5eceee18244ba.tar.bz2
mpc83xx: pq-mds-pib.c typo error
Correct to val8 from val. Signed-off-by: Tony Li <tony.li@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
-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();