23 unsigned long ret = 0;
25 soc = find_node_by_devtype(
NULL,
"soc");
30 size = getprop(soc,
"#address-cells", prop_buf,
MAX_PROP_LEN);
36 if (naddr != 1 && naddr != 2)
45 if (naddr == 2 && prop_buf[1] != 0)
54 printf(
"fsl_get_immr: Failed to find immr base\r\n");