Hi Aristo,

On 9/23/26 5:45 PM, Aristo Chen wrote:
Commit 634dcda25924 ("boot/fit: use constants for property strings")
switched boot/common_fit.c and boot/image-fit.c to the property name
constants in include/image.h, but a few literals are left in boot/:

- fdt_offset() in boot_fit.c reads "data-offset" and "data-size" from
   the FDT image node; use FIT_DATA_OFFSET_PROP and FIT_DATA_SIZE_PROP.
- boot_get_fpga() reads the "compatible" property of the FPGA image
   node. Commit 3059eb0c27dd ("boot/fit: declare (and use) new constant
   for conf's compatible prop") added FIT_COMPAT_PROP and noted that FPGA
   image nodes carry the same property; use it there too.
- fit_image_load_storage() looks up the dm-verity subnode by a literal
   name; use FIT_VERITY_NODENAME like the rest of the dm-verity code.

No functional change.


Reviewed-by: Quentin Schulz <[email protected]>

Thanks!
Quentin

Reply via email to