]> git.baikalelectronics.ru Git - uboot.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)
commitb2c66a255da15babdac640d820cfabceaa4edec9
tree655c9f620befea86ea5ff72e1ad0dfdd15f96674
parent04e14a863864f4637ca66160ff70ddbce9d335fb
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