diff options
author | Cooper Jr., Franklin <fcooper@ti.com> | 2017-06-16 17:25:05 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-10 14:24:39 -0400 |
commit | 3863f840fa03f6b93672a5afff74f15d460cb911 (patch) | |
tree | 60d1922970f5732c042ccf2e70a72f7274bcd58f /include/image.h | |
parent | e936f997a956dbcd7ccd414770951f981fa586a1 (diff) | |
download | u-boot-3863f840fa03f6b93672a5afff74f15d460cb911.tar.gz |
spl: fit: Break out some functions into a common file
Some of the functions within spl_fit will be used for non spl purposes.
Instead of duplicating functions simply break the functions to be reused
into its own file.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Only add the new define to image.h, otherwise we see breakage
due to massive include leakage into host tools in some cases]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/image.h')
-rw-r--r-- | include/image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h index fcfe730204..1d763b33b8 100644 --- a/include/image.h +++ b/include/image.h @@ -1270,6 +1270,8 @@ int board_fit_config_name_match(const char *name); void board_fit_image_post_process(void **p_image, size_t *p_size); #endif /* CONFIG_SPL_FIT_IMAGE_POST_PROCESS */ +#define FDT_ERROR ((ulong)(-1)) + /** * Mapping of image types to function handlers to be invoked on the associated * loaded images |