Re: [PATCH] xilinx: Free memory when variable is saved in boot_targets_setup()

2025-04-16 Thread Michal Simek
On 4/10/25 09:38, Michal Simek wrote: When boot_targets variable is saved there is no reason to keep string in malloc area that's why free it. This change is already done in ZynqMP code. Signed-off-by: Michal Simek --- board/amd/versal2/board.c | 3 ++- board/xilinx/versal/board.c | 1

[PATCH] xilinx: Free memory when variable is saved in boot_targets_setup()

2025-04-10 Thread Michal Simek
When boot_targets variable is saved there is no reason to keep string in malloc area that's why free it. This change is already done in ZynqMP code. Signed-off-by: Michal Simek --- board/amd/versal2/board.c | 3 ++- board/xilinx/versal/board.c | 1 + 2 files changed, 3 insertions(+), 1 deleti