Files
u-boot/lib
Simon Goldschmidt d67f33cf4e lmb: fix allocation at end of address range
The lmb code fails if base + size of RAM overflows to zero.

Fix this by calculating end as 'base + size - 1' instead of 'base + size'
where appropriate.

Added tests to assert this is fixed.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
2019-01-16 16:36:48 -05:00
..
2018-12-03 10:44:10 -05:00
2018-06-13 07:49:12 -04:00
2018-09-05 16:02:34 -04:00
2018-11-20 19:14:22 -07:00