Skip to content
Snippets Groups Projects
Commit eb5eb2b0 authored by Stefan Roese's avatar Stefan Roese
Browse files

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: default avatarStefan Roese <sr@denx.de>
parent b2f618f2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment