sandbox: Correct data sizes and printf() strings in fdtdec.c
authorSimon Glass <sjg@chromium.org>
Sun, 10 Nov 2013 17:26:54 +0000 (10:26 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Nov 2013 23:54:26 +0000 (16:54 -0700)
commit370b6c5c4d764192399a220095a2dd1054314147
treed6685b3ea6bc93a27585952857cb70cec7545bd3
parent0eb2acee394b16dd734f5f48b2cbf2f22065d060
sandbox: Correct data sizes and printf() strings in fdtdec.c

There are a few wwrnings in this file when building for sandbox. Addresses
coming from the device tree need to be treated as ulong as elsewhere in
U-Boot and we must use map_sysmem() to convert to a pointer when needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
lib/fdtdec.c