
30 Dec
2019
30 Dec
'19
2:21 a.m.
On Tue, 22 Oct 2019 at 08:40, Jean-Jacques Hiblot jjhiblot@ti.com wrote:
If the node describing an overlay does not specify a load address, it will be loaded at the address previously used. Fixing it by allocating a temporary buffer that will be used as a default load address. By default, the size of the buffer is 64kB which should be plenty for most use cases.
Signed-off-by: Jean-Jacques Hiblot jjhiblot@ti.com
Changes in v6: None Changes in v5:
- Do not allocate the buffer if not needed (no overlay).
- Add a Kconfig option for the buffer size
Changes in v4:
- make sure that the temp buffer is freed in all cases
Changes in v3: None Changes in v2: None
Kconfig | 9 +++++++++ common/spl/spl_fit.c | 34 +++++++++++++++++++++++++++++----- 2 files changed, 38 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org