summaryrefslogtreecommitdiff
path: root/board/sandburst/common/ppc440gx_i2c.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-08-15 16:03:56 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-08-15 16:03:56 +0200
commit3d078ce6d786df932a0c00b8a95c0179c616ebc1 (patch)
tree0b5c170ea71c3052a7345f1846142e5f7cc9ab95 /board/sandburst/common/ppc440gx_i2c.h
parent6bdf430660531aca5f88faeac8657d91595f5b38 (diff)
downloadu-boot-imx-3d078ce6d786df932a0c00b8a95c0179c616ebc1.zip
u-boot-imx-3d078ce6d786df932a0c00b8a95c0179c616ebc1.tar.gz
u-boot-imx-3d078ce6d786df932a0c00b8a95c0179c616ebc1.tar.bz2
Coding style cleanup
Diffstat (limited to 'board/sandburst/common/ppc440gx_i2c.h')
-rw-r--r--board/sandburst/common/ppc440gx_i2c.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/board/sandburst/common/ppc440gx_i2c.h b/board/sandburst/common/ppc440gx_i2c.h
index e25a317..cd4fc86 100644
--- a/board/sandburst/common/ppc440gx_i2c.h
+++ b/board/sandburst/common/ppc440gx_i2c.h
@@ -34,11 +34,8 @@
#endif
#include <i2c.h>
-
#ifdef CONFIG_HARD_I2C
-
-
#define I2C_BUS1_BASE_ADDR (CFG_PERIPHERAL_BASE + 0x00000500)
#define I2C_REGISTERS_BUS1_BASE_ADDRESS I2C_BUS1_BASE_ADDR
#define IIC_MDBUF1 (I2C_REGISTERS_BUS1_BASE_ADDRESS+IICMDBUF)
@@ -64,4 +61,4 @@ int i2c_write1 (uchar chip, uint addr, int alen, uchar * buffer, int len);
uchar i2c_reg_read1(uchar i2c_addr, uchar reg);
void i2c_reg_write1(uchar i2c_addr, uchar reg, uchar val);
-#endif
+#endif /* CONFIG_HARD_I2C */