1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-02-21 09:43:58 +01:00
Files
u-boot-megous/drivers
Sughosh Ganu ed17a33fed lmb: make LMB memory map persistent and global
The current LMB API's for allocating and reserving memory use a
per-caller based memory view. Memory allocated by a caller can then be
overwritten by another caller. Make these allocations and reservations
persistent using the alloced list data structure.

Two alloced lists are declared -- one for the available(free) memory,
and one for the used memory. Once full, the list can then be extended
at runtime.

[sjg: Use a stack to store pointer of lmb struct when running lmb tests]

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
[sjg: Optimise the logic to add a region in lmb_add_region_flags()]
2024-09-03 14:08:50 -06:00
..
2024-08-19 18:24:58 -06:00
2024-08-13 06:12:48 +02:00
2024-08-19 18:24:58 -06:00
2024-08-23 15:58:41 -06:00
2024-06-24 13:34:52 -06:00
2024-08-13 06:14:55 +02:00
2023-11-07 14:50:51 -05:00
2024-08-05 12:17:01 -06:00
2024-08-19 18:24:58 -06:00
2024-04-26 08:28:35 +03:00
2024-07-31 16:51:54 +02:00