]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:17 +0000 (08:17 +0200)
commita4cd7b4ad403e2278e65d1714158fe6026c211b7
tree507a736d0d777840859d23bc427ad33a83508b8e
parent057b45bb8868f8457550c59f1f984b2f4f7e90fb
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