On 2026-09-24T05:54:48, Aristo Chen <[email protected]> wrote:
> spl: fit: use constants for FIT property names
>
> spl_fit.c mostly uses the property name constants from include/image.h,
> including FIT_LOADABLE_PROP in spl_load_fit_image(), but still spells
> out a few names as literals:
>
> - "loadables" in spl_fit_record_loadable() and spl_load_simple_fit();
>   use FIT_LOADABLE_PROP.
> - "fpga" in spl_fit_load_fpga(); use FIT_FPGA_PROP.
> - "compatible" of the FPGA image node in spl_fit_upload_fpga(); use
>   FIT_COMPAT_PROP, as boot_get_fpga() does in U-Boot proper.
>
> No functional change.
>
> Signed-off-by: Aristo Chen <[email protected]>
> Reviewed-by: Quentin Schulz <[email protected]>
>
> common/spl/spl_fit.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to