On Wed, Oct 20, 2010 at 02:35:50PM +0300, Amit Kucheria wrote:
Yep, that's the pro side of having a single header file for both mx51
and mx53. On the negative side we have:
- When changing mx5x.h you always have to check (now) two reference
manuals, later maybe more.
- When Freescale decides to create a (say) mx56 that is totally
different, you can be happy not to have constants starting with MX5X.
(This happened to the MX2X constants when Freescale created mx25, not
to mention mx23 and mx28.)
I admit that *now* it would be easier to just rename mx51.h to mx5x.h,
but for the long run keeping mx51.h is better, I'm sure.
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |