19 #define TARGET_PPC_MPC52xx
24 static void platform_fixups(
void)
39 soc = find_node_by_devtype(
NULL,
"soc");
41 soc = find_node_by_compatible(
NULL,
"fsl,mpc5200-immr");
43 soc = find_node_by_compatible(
NULL,
"fsl,mpc5200b-immr");
45 setprop(soc,
"bus-frequency", &bd.bi_ipbfreq,
46 sizeof(bd.bi_ipbfreq));
50 div =
in_8(reg + 0x204) & 0x0020 ? 8 : 4;
52 setprop(soc,
"system-frequency", &sysfreq,
sizeof(sysfreq));
57 unsigned long r6,
unsigned long r7)