]> git.ipfire.org Git - people/ms/u-boot.git/commit
lib/fdtdec: Fix fdt_addr_t and fdt_size_t typedef
authorYork Sun <yorksun@freescale.com>
Mon, 3 Aug 2015 19:02:04 +0000 (12:02 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 13:31:36 +0000 (07:31 -0600)
commit28445aa7ec099bf8d7dc49db5fbf6bdd9098b410
treeb86ede3c825c578cf9fe93766e4d757aefdb48a9
parentfdb9f349be255b9b69a5e1a300296779b48a36b0
lib/fdtdec: Fix fdt_addr_t and fdt_size_t typedef

fdt_addr_t is a physical address. It can be either 64-bit or 32-bit,
depending on the architecture. It should be phys_addr_t instead of
u64 or u32. Similarly, fdt_size_t is changed to phys_size_t.

Signed-off-by: York Sun <yorksun@freescale.com>
CC: Simon Glass <sjg@chromium.org>
include/fdtdec.h