Go to the documentation of this file.
22 #define MHZ(x) ((x + 500000) / 1000000)
24 static void platform_fixups(
void)
32 node = finddevice(
"/soc/cpm/brg");
34 printf(
"BRG clock-frequency <- 0x%x (%dMHz)\r\n",
36 setprop(node,
"clock-frequency", &bd.
bi_busfreq, 4);
41 unsigned long r6,
unsigned long r7)
43 memcpy(&bd, (
char *)r3,
sizeof(bd));
45 if (bd.
bi_tag != 0x42444944)