Re: [PATCH] arm: Do not overwrite __machine_arch_type

2014-08-19 Thread Peng Fan
On 08/19/2014 03:43 PM, Russell King - ARM Linux wrote: > On Tue, Aug 19, 2014 at 11:21:31AM +0800, Peng Fan wrote: >> If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. >> The value of __machine_arch_type is passsed from bootloader using reigster >> r1, and assigned in

Re: [PATCH] arm: Do not overwrite __machine_arch_type

2014-08-19 Thread Russell King - ARM Linux
On Tue, Aug 19, 2014 at 11:21:31AM +0800, Peng Fan wrote: > If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. > The value of __machine_arch_type is passsed from bootloader using reigster > r1, and assigned in head-common.S. Remove this line to avoid overwrite it. No. The

Re: [PATCH] arm: Do not overwrite __machine_arch_type

2014-08-19 Thread Russell King - ARM Linux
On Tue, Aug 19, 2014 at 11:21:31AM +0800, Peng Fan wrote: If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. The value of __machine_arch_type is passsed from bootloader using reigster r1, and assigned in head-common.S. Remove this line to avoid overwrite it. No. The idea

Re: [PATCH] arm: Do not overwrite __machine_arch_type

2014-08-19 Thread Peng Fan
On 08/19/2014 03:43 PM, Russell King - ARM Linux wrote: On Tue, Aug 19, 2014 at 11:21:31AM +0800, Peng Fan wrote: If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. The value of __machine_arch_type is passsed from bootloader using reigster r1, and assigned in

[PATCH] arm: Do not overwrite __machine_arch_type

2014-08-18 Thread Peng Fan
If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. The value of __machine_arch_type is passsed from bootloader using reigster r1, and assigned in head-common.S. Remove this line to avoid overwrite it. Signed-off-by: Peng Fan --- arch/arm/kernel/devtree.c | 3 --- 1 file

[PATCH] arm: Do not overwrite __machine_arch_type

2014-08-18 Thread Peng Fan
If using DT_MACHINE_START when enabled CONFIG_OF, the nr of mdesc is ~0. The value of __machine_arch_type is passsed from bootloader using reigster r1, and assigned in head-common.S. Remove this line to avoid overwrite it. Signed-off-by: Peng Fan van.free...@gmail.com ---