[U-Boot] [PATCH 01/31] iMX28: Initial support for iMX28 CPU

Stefano Babic sbabic at denx.de
Fri Sep 9 13:04:39 CEST 2011


On 09/09/2011 12:50 PM, Marek Vasut wrote:
>>
>> Well, I do not know if on our Intel-PC this makes a so noticeable
>> difference ;-)
> 
> It's a point-of-view question, really. But what about people compiling stuff on 
> slower machines ?

Yes, it is a point of view, and surely, compilation time is a drawback.

However, if I compare the advantages between clear interface and
compilation time, I choose the first one.

>> What I remark here, it is to have a clear and identical interface among
>> the several SOCs. This is not only easier for board developers, but also
>> removes some nasty #ifdef CONFIG_MX from the drivers.
> 
> Yes, I understand. btw there's no CONFIG_MX stuff.

Not yet, but only because you are adding a new SOC without using IMX
drivers. Things will be changed when the MX23 will be added. Or some
newer SOC of the mxs family will be added by Freescale.

Once we had only the MX31. Drivers were done only for this SOC. After
using the same driver with different SOCs, a lot of CONFIG_MX was added,
and most of code was really not readable - and it tooks time to remove
most of them.

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list