[PATCH 4/8] ARM: imx: add support code for IMX50 based machines
Rob Herring
robherring2 at gmail.com
Mon Oct 28 15:57:04 EDT 2013
On Mon, Oct 28, 2013 at 1:38 AM, Greg Ungerer <gerg at uclinux.org> wrote:
> Hi Rob,
>
> On 24/10/13 21:11, Rob Herring wrote:
>> On Fri, Oct 18, 2013 at 1:04 AM, <gerg at uclinux.org> wrote:
>>> From: Greg Ungerer <gerg at uclinux.org>
>>>
>>> Add machine support code for the Freescale IMX50 SoC.
>>> +DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)")
>>> + .map_io = mx53_map_io,
>>> + .init_early = imx53_init_early,
>>> + .init_irq = mx53_init_irq,
>>> + .handle_irq = imx53_handle_irq,
>>> + .init_time = imx50_timer_init,
>>> + .init_machine = imx50_dt_init,
>>> + .init_late = imx53_init_late,
>>> + .dt_compat = imx50_dt_board_compat,
>>> + .restart = mxc_restart,
>>> +MACHINE_END
>>
>> This seems like a lot of duplication. It seems like mx53 and mx50
>> could be combined into a single machine_desc. init_time should not be
>> needed in 3.13.
>
> Are you suggesting that "fsl,imx50" be added to the board compat list
> in mach-imx53.c instead?
Yes, that would be at least part of it. I'd guess a bit more than that
is needed.
Rob
More information about the linux-arm-kernel
mailing list