diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-12-07 01:39:47 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2015-12-09 17:44:36 +0800 |
commit | a0ae380b3c32254a6462674cfbfdd763d10bca41 (patch) | |
tree | 2b1c1926d46bc4fdfdfec75707d55fb701a63a1e /doc/README.fsl-hwconfig | |
parent | 8555dd88cd1a7b5dd1e76c111fe635a92223b98b (diff) |
fdt: Change OF_BAD_ADDR to FDT_ADDR_T_NONE
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@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'doc/README.fsl-hwconfig')
0 files changed, 0 insertions, 0 deletions