arm: mxs: commonize Brain mach code
This commit is contained in:
parent
426eea3293
commit
5cae3cd0bd
|
@ -277,7 +277,7 @@ static void __init m28cu3_init(void)
|
||||||
update_fec_mac_prop(OUI_DENX);
|
update_fec_mac_prop(OUI_DENX);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init pwsh1_init(void)
|
static void __init brain_init(void)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -422,8 +422,8 @@ static void __init mxs_machine_init(void)
|
||||||
duckbill_init();
|
duckbill_init();
|
||||||
else if (of_machine_is_compatible("msr,m28cu3"))
|
else if (of_machine_is_compatible("msr,m28cu3"))
|
||||||
m28cu3_init();
|
m28cu3_init();
|
||||||
else if (of_machine_is_compatible("sharp,pw-sh1"))
|
else if (of_machine_is_compatible("sharp,brain"))
|
||||||
pwsh1_init();
|
brain_init();
|
||||||
|
|
||||||
of_platform_default_populate(NULL, NULL, parent);
|
of_platform_default_populate(NULL, NULL, parent);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue