[U-Boot] [PATCH] arm: imx: imx-common: init: move arch init common setup

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Aug 27 22:12:31 CEST 2015


On Thu, Aug 27, 2015 at 1:31 PM, Alonso Adrian <aalonso at freescale.com> wrote:
>> If we do need such a patch for now, init_aips and boot_mode_apply and
>> init_src may can be consolidated for common usage for imx6/7.
>> But anyway I prefer a small cleanup patch to do this after basic imx7
>> upstreamed.
> [Adrian] iMX7 upstream is been kept on hold due to feedback to try to reuse as much of
> Common code as possible, some drivers (thermal, usb) had already reworked to
> Support both imx6 and imx7; I think we need to push for:
> "arm: imx: common rework cache settings for imx6" and this patch (version 2 will be sent ASAP)
> So basic imx7 support ca be accepted.

Fully agree. Before adding new code we need to rework the code to be
common and add the new one. Add code duplication for later rework does
open the door for it never to be reworked and this is not acceptable.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list