Re: [PATCH v6 2/6] fdtdec: Fix boundary check

2020-04-19 Thread Bin Meng
On Sun, Apr 19, 2020 at 3:32 AM Atish Patra 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 an

[PATCH v6 2/6] fdtdec: Fix boundary check

2020-04-18 Thread Atish Patra
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.