Skip to content
Commit 59bd7968 authored by Simon Goldschmidt's avatar Simon Goldschmidt Committed by Tom Rini
Browse files

fdt_shrink_to_minimum: do not mark fdt space reserved unconditionally



This function merely relocates the fdt blob, so don't let it alter
it by adding reservations that didn't exist before.

Instead, if the memory used for the fdt blob has been reserved
before calling this function, ensure the relocated memory is
marked as reserved instead.

Reported-by: default avatarKeerthy <j-keerthy@ti.com>
Reported-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 93e07880
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment