commit | eb5eb2b0f744f0cba405160c5d01335c40f09acf | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Thu Nov 19 14:03:17 2009 +0100 |
committer | Stefan Roese <sr@denx.de> | Mon Nov 23 16:27:02 2009 +0100 |
tree | ba637d27b660603fdf4b5f7092172aa621bfaab3 | |
parent | b2f618f2150b15b2674f11d09e1c0fdfe460c1cd [diff] |
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>