Skip to content
Commit 6b50aff1 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

stm32: Use local vars in stm32prog for initrd and fdt



Rather than assigning to the bootm_argv[] array multiple times, use
local variables for the two things that can change and assign them at
the end.

This makes it easier to drop the array eventually.

Tidu up an overly short line while we are here.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
parent e1a24c02
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