[U-Boot] [PATCH] fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE
Stefan Roese
sr at denx.de
Wed Dec 9 08:58:14 CET 2015
Hi Bin,
On 07.12.2015 10:39, Bin Meng wrote:
> Currently OF_BAD_ADDR is always -1ULL. When using OF_BAD_ADDR as the
> return value of dev_get_addr(), it creates potential size mismatch
> as dev_get_addr() uses FDT_ADDR_T_NONE as the return value which can
> be either -1U or -1ULL depending on CONFIG_PHYS_64BIT. Now we change
> OF_BAD_ADDR to FDT_ADDR_T_NONE to avoid such case.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
A little late, sorry - but:
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
More information about the U-Boot
mailing list