diff options
author | Heiko Schocher <hs@denx.de> | 2009-12-03 11:23:17 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-12-22 05:52:48 +0100 |
commit | 072e754b6b9bef438fc0870318755e33051baa7d (patch) | |
tree | 43916f202637ababbd6fe5f2306e36ca7855e32b /post | |
parent | bb3bcfa2426cc6a0aecec7270e3ee67ca843a125 (diff) |
i2c, ppc4xx: fix compiling KAREF and METROBOX boards.
commit eb5eb2b0f744f0cba405160c5d01335c40f09acf
ppc4xx: Cleanup PPC4xx I2C infrastructure
This patch cleans up the PPC4xx I2C intrastructure:
- Use C struct to describe the I2C registers instead of defines
- Coding style cleanup (braces, whitespace, comments, line length)
- Extract common code from i2c_read() and i2c_write()
- Remove unneeded IIC defines from ppc405.h & ppc440.h
breaks comiling for the KAREF and METROBOX boards.
This patch fixes this issue.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post')
0 files changed, 0 insertions, 0 deletions