diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-02-29 14:58:34 +0100 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2008-02-29 14:58:34 +0100 |
commit | 9a4daad0a35eb5143037eea9f786a3e9d672bdd6 (patch) | |
tree | 69650696145431c6b48d0792b4d6bdf8b714d37a /board/mcc200 | |
parent | e18489e8c27e843e337258fb00f2652ff0f43b92 (diff) | |
download | u-boot-imx-9a4daad0a35eb5143037eea9f786a3e9d672bdd6.zip u-boot-imx-9a4daad0a35eb5143037eea9f786a3e9d672bdd6.tar.gz u-boot-imx-9a4daad0a35eb5143037eea9f786a3e9d672bdd6.tar.bz2 |
[new uImage] Update naming convention for bootm/uImage related code
This patch introduces the following prefix convention for the
image format handling and bootm related code:
genimg_ - dual format shared code
image_ - legacy uImage format specific code
fit_ - new uImage format specific code
boot_ - booting process related code
Related routines are renamed and a few pieces of code are moved around and
re-grouped.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'board/mcc200')
-rw-r--r-- | board/mcc200/auto_update.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/mcc200/auto_update.c b/board/mcc200/auto_update.c index fcae35a..5580c11 100644 --- a/board/mcc200/auto_update.c +++ b/board/mcc200/auto_update.c @@ -144,7 +144,7 @@ int au_check_cksum_valid(int idx, long nbytes) hdr = (image_header_t *)LOAD_ADDR; #if defined(CONFIG_FIT) - if (gen_image_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) { + if (genimg_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) { puts ("Non legacy image format not supported\n"); return -1; } @@ -169,7 +169,7 @@ int au_check_header_valid(int idx, long nbytes) hdr = (image_header_t *)LOAD_ADDR; #if defined(CONFIG_FIT) - if (gen_image_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) { + if (genimg_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) { puts ("Non legacy image format not supported\n"); return -1; } @@ -247,7 +247,7 @@ int au_do_update(int idx, long sz) hdr = (image_header_t *)LOAD_ADDR; #if defined(CONFIG_FIT) - if (gen_image_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) { + if (genimg_get_format ((void *)hdr) != IMAGE_FORMAT_LEGACY) { puts ("Non legacy image format not supported\n"); return -1; } |