
20 Apr
2020
20 Apr
'20
7:29 a.m.
On Sun, Apr 19, 2020 at 3:32 AM Atish Patra atish.patra@wdc.com wrote:
In U-Boot, the reserved memory end address is considered as a inclusive address. This notion is followed while adding a reserved memory node to the DT.
For example: end_address = start_address + size - 1
Follow the same notion and fix the end address computation while checking for existing nodes.
Signed-off-by: Atish Patra atish.patra@wdc.com Reviewed-by: Bin Meng bmeng.cn@gmail.com
lib/fdtdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Tested-by: Bin Meng bmeng.cn@gmail.com