|
|
|
@ -164,7 +164,7 @@ void ft_blob_update(void *blob, bd_t *bd) |
|
|
|
|
ret = fdt_setprop(blob, nodeoffset, "reg", memory_data, |
|
|
|
|
sizeof(memory_data)); |
|
|
|
|
if (ret < 0) |
|
|
|
|
printf("ft_blob_update): cannot set /memory/reg " |
|
|
|
|
printf("ft_blob_update(): cannot set /memory/reg " |
|
|
|
|
"property err:%s\n", fdt_strerror(ret)); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
@ -180,7 +180,7 @@ void ft_blob_update(void *blob, bd_t *bd) |
|
|
|
|
ret = fdt_setprop(blob, nodeoffset, "ranges", flash_data, |
|
|
|
|
sizeof(flash_data)); |
|
|
|
|
if (ret < 0) |
|
|
|
|
printf("ft_blob_update): cannot set /localbus/ranges " |
|
|
|
|
printf("ft_blob_update(): cannot set /localbus/ranges " |
|
|
|
|
"property err:%s\n", fdt_strerror(ret)); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
@ -195,7 +195,7 @@ void ft_blob_update(void *blob, bd_t *bd) |
|
|
|
|
ret = fdt_setprop(blob, nodeoffset, "brg-frequency", brg_data, |
|
|
|
|
sizeof(brg_data)); |
|
|
|
|
if (ret < 0) |
|
|
|
|
printf("ft_blob_update): cannot set /soc/cpm/brg-frequency " |
|
|
|
|
printf("ft_blob_update(): cannot set /soc/cpm/brg-frequency " |
|
|
|
|
"property err:%s\n", fdt_strerror(ret)); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
@ -209,7 +209,7 @@ void ft_blob_update(void *blob, bd_t *bd) |
|
|
|
|
ret = fdt_setprop(blob, nodeoffset, "mac-address", bd->bi_enetaddr, |
|
|
|
|
sizeof(uchar) * 6); |
|
|
|
|
if (ret < 0) |
|
|
|
|
printf("ft_blob_update): cannot set /soc/cpm/scc/mac-address " |
|
|
|
|
printf("ft_blob_update(): cannot set /soc/cpm/scc/mac-address " |
|
|
|
|
"property err:%s\n", fdt_strerror(ret)); |
|
|
|
|
} |
|
|
|
|
else { |
|
|
|
|