Re: [PATCH 5/5] ARM: ux500: Do not supply DMA platform data when booting u8540 platform

From: Arnd Bergmann
Date: Fri Mar 22 2013 - 11:43:25 EST


On Friday 22 March 2013, Lee Jones wrote:
> /* automatically probe child nodes of db8500 device */
> of_platform_populate(NULL, u8500_local_bus_nodes, u8500_auxdata_lookup, parent);
> +
> + if (of_machine_is_compatible("st-ericsson,u8540"))
> + of_platform_populate(NULL, u8500_local_bus_nodes,
> + u8540_auxdata_uart_lookup, parent);
> + else
> + of_platform_populate(NULL, u8500_local_bus_nodes,
> + u8500_auxdata_uart_lookup, parent);
> }
>

Does this still work on u8500? I did not think you could call
of_platform_populate twice on the root node and still get the result
you want.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/