Re: [PATCH v2 1/5] ARM: BCM63XX: add basic support for the Broadcom BCM63138 DSL SoC

Arnd Bergmann
2014-08-15T07:01:50Z

On Thursday 14 August 2014 17:11:23 Florian Fainelli wrote:
> +static void __init bcm63xx_init(void)
> +{
> + of_platform_populate(NULL, of_default_bus_match_table, NULL,
> + &platform_bus);
> + l2x0_of_init(0, ~0);
> +}
> +
> +static const char * const bcm63xx_dt_compat[] = {
> + "brcm,bcm63138",
> + NULL
> +};
> +
> +DT_MACHINE_START(BCM63XXX_DT, "BCM63xx DSL SoC")
> + .init_machine = bcm63xx_init,
> + .dt_compat = bcm63xx_dt_compat,
> +MACHINE_END
>

You should be able to remove that bcm63xx_init() function if you add
the l2c_aux_val/l2c_aux_mask settings in the machine descriptor
instead.

Arnd