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