I2C2 support for MPC8548CDS
PATCH 1/1 I2C2 support for MPC8548CDS
The attached patch adds I2C2 support for the MPC8548CDS board. I've performed a limited testing on our MPC8548CDS board and everything seems to be working fine.
Since this processor is brand new, I may need to revise the changes when we build our real system based on '8548.
Thanks,
Adam Zajac
<<mpc8548cds_i2c2.patch.gz>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpc8548cds_i2c2.patch.gz
Type: application/octet-stream
Size: 4823 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050726/56999143/attachment.obj
PATCH 1/1 I2C2 support for MPC8548CDS
Quoted 4 lines · In message <[email protected]>…
The attached patch adds I2C2 support for the MPC8548CDS board. I've performed a limited testing on our MPC8548CDS board and everything seems to be working fine.
I reject the patch. There are a couple of formal reasons that alone
would justify such a decision (like missing CHANGELOG entry,
violations of Coding Style, etc.), but the main reason is that you don't add just some board specific code, but instead you heavily
modify common code (common/cmd_i2c.c) with board or processor
specific (#ifdef CONFIG_MPC8548) stuff. And you don't even mention this in your description!
I will not accept any board or processor specific code in common files like common/cmd_i2c.c.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "It ain't so much the things we don't know that get us in trouble. It's the things we know that ain't so." - Artemus Ward aka Charles Farrar Brown