This function is useful in other places. Move it to a common file.

Signed-off-by: Simon Glass <[email protected]>
---

 tools/fit_common.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++
 tools/fit_common.h | 11 +++++++++
 tools/fit_image.c  | 56 ----------------------------------------------
 3 files changed, 67 insertions(+), 56 deletions(-)

Applied to u-boot-dm, thanks!

Reply via email to