1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-04 18:22:02 +02:00
Files
u-boot-megous/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
2017-04-13 09:41:10 -04:00
2018-06-13 07:49:12 -04:00
2012-04-29 14:14:08 +02:00
2018-09-05 16:02:34 -04:00
2018-11-20 19:14:22 -07:00