diff options
author | Stefan Roese <sr@denx.de> | 2009-11-19 14:03:17 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-11-23 16:27:02 +0100 |
commit | eb5eb2b0f744f0cba405160c5d01335c40f09acf (patch) | |
tree | ba637d27b660603fdf4b5f7092172aa621bfaab3 /examples/api/demo.c | |
parent | b2f618f2150b15b2674f11d09e1c0fdfe460c1cd (diff) | |
download | u-boot-imx-eb5eb2b0f744f0cba405160c5d01335c40f09acf.zip u-boot-imx-eb5eb2b0f744f0cba405160c5d01335c40f09acf.tar.gz u-boot-imx-eb5eb2b0f744f0cba405160c5d01335c40f09acf.tar.bz2 |
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
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'examples/api/demo.c')
0 files changed, 0 insertions, 0 deletions