Some copy-n-paste fixes in printf usage
Signed-off-by: Matvejchikov Ilya <matvejchikov@gmail.com>
This commit is contained in:
parent
0e6989b9fa
commit
27269417ad
@ -275,7 +275,7 @@ static void ft_blob_update(void *blob, bd_t *bd)
|
||||
ret = fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
@ -334,7 +334,7 @@ void ft_blob_update(void *blob, bd_t *bd)
|
||||
ret = fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
|
@ -307,7 +307,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 {
|
||||
@ -327,7 +327,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 {
|
||||
@ -341,7 +341,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/ethernet/mac-address "
|
||||
printf("ft_blob_update(): cannot set /soc/cpm/ethernet/mac-address "
|
||||
"property err:%s\n", fdt_strerror(ret));
|
||||
}
|
||||
else {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user