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

2015-08-27 Thread Otavio Salvador
On Thu, Aug 27, 2015 at 1:31 PM, Alonso Adrian 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 up

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

2015-08-27 Thread Alonso Adrian
a...@ossystems.com.br > Subject: Re: [U-Boot] [PATCH] arm: imx: imx-common: init: move arch init > common setup > > On Thu, Aug 27, 2015 at 10:00:57AM +0100, Peter Robinson wrote: > >On Thu, Aug 27, 2015 at 2:39 AM, Peng Fan wrote: > >> Hi Adrian, > >> > &g

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

2015-08-27 Thread Peng Fan
On Thu, Aug 27, 2015 at 10:00:57AM +0100, Peter Robinson wrote: >On Thu, Aug 27, 2015 at 2:39 AM, Peng Fan wrote: >> Hi Adrian, >> >> Since this is only for mx6, why move the code to imx-common? >> " >>> ifeq ($(SOC),$(filter $(SOC),mx6)) >>>-obj-y += cache.o >>>+obj-y += cache.o i

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

2015-08-27 Thread Peter Robinson
On Thu, Aug 27, 2015 at 2:39 AM, Peng Fan wrote: > Hi Adrian, > > Since this is only for mx6, why move the code to imx-common? > " >> ifeq ($(SOC),$(filter $(SOC),mx6)) >>-obj-y += cache.o >>+obj-y += cache.o init.o > " > > Also many pieces of code are only for imx6, imx7 do not ne

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

2015-08-26 Thread Peng Fan
Hi Adrian, Since this is only for mx6, why move the code to imx-common? " > ifeq ($(SOC),$(filter $(SOC),mx6)) >-obj-y += cache.o >+obj-y += cache.o init.o " Also many pieces of code are only for imx6, imx7 do not need them for now, such as the ldo ramp part. I think basic imx7

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

2015-08-26 Thread Adrian Alonso
Move common imx6 arch init setup, init.c can be extended and reused to support imx7 SoC keeping init arch common code. Signed-off-by: Adrian Alonso --- Apply patch on top of: arm: imx: common rework cache settings for imx6 arch/arm/cpu/armv7/mx6/soc.c | 274 -