riscv: use log functions in fdt_fixup
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 30 Jun 2020 09:30:59 +0000 (11:30 +0200)
committerAndes <uboot@andestech.com>
Fri, 3 Jul 2020 07:09:12 +0000 (15:09 +0800)
commitc5a444270f4f4d1f5418c97db9ff18631bf69846
treed10de51e6a75d3a2cb578d04e47189393bda480a
parent5ce50206ed24080707946849d3542534fadf8cbf
riscv: use log functions in fdt_fixup

Replace printf() and debug() by log_err() and log_debug().

"No reserved memory region found in source FDT\n" is not an error but a
debug information.

%s/can not/cannot/ - use the more common spelling.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
arch/riscv/lib/fdt_fixup.c