Re: [RESEND PATCH v2 2/6] image: fit: Add some helpers for getting data

2022-08-16 Thread Simon Glass
On Tue, 16 Aug 2022 at 09:16, Sean Anderson wrote: > > Several different firmware users have repetitive code to extract the > firmware data from a FIT. Add some helper functions to reduce the amount > of repetition. fit_conf_get_prop_node (eventually) calls > fdt_check_node_offset_, so we can

[RESEND PATCH v2 2/6] image: fit: Add some helpers for getting data

2022-08-16 Thread Sean Anderson
Several different firmware users have repetitive code to extract the firmware data from a FIT. Add some helper functions to reduce the amount of repetition. fit_conf_get_prop_node (eventually) calls fdt_check_node_offset_, so we can avoid an explicit if. In general, this version avoids printing on