]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdtdec: Fix the types of addr and size in fdtdec_add_reserved_memory()
authorBin Meng <bin.meng@windriver.com>
Wed, 20 May 2020 06:38:32 +0000 (23:38 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Jun 2020 02:52:11 +0000 (20:52 -0600)
commita9ad113df005b4ecd7b719736c228b1da69aa8d6
tree655c9f620befea86ea5ff72e1ad0dfdd15f96674
parent7664b03ffc51fa7563969c61fa28bf656af441bd
fdtdec: Fix the types of addr and size in fdtdec_add_reserved_memory()

fdtdec_get_addr_size() expects size is of type 'fdt_size_t', and
return value is of type 'fdt_addr_t'. Adjust their types accordingly.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c