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 /common/cmd_nand.c | |
parent | e18489e8c27e843e337258fb00f2652ff0f43b92 (diff) | |
download | u-boot-9a4daad0a35eb5143037eea9f786a3e9d672bdd6.tar.gz u-boot-9a4daad0a35eb5143037eea9f786a3e9d672bdd6.tar.bz2 u-boot-9a4daad0a35eb5143037eea9f786a3e9d672bdd6.zip |
[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 'common/cmd_nand.c')
-rw-r--r-- | common/cmd_nand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_nand.c b/common/cmd_nand.c index b099afeca0..86959dc2c0 100644 --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -512,7 +512,7 @@ static int nand_load_image(cmd_tbl_t *cmdtp, nand_info_t *nand, } show_boot_progress (56); - switch (gen_image_get_format ((void *)addr)) { + switch (genimg_get_format ((void *)addr)) { case IMAGE_FORMAT_LEGACY: hdr = (image_header_t *)addr; @@ -994,7 +994,7 @@ int do_nandboot (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) } show_boot_progress (56); - switch (gen_image_get_format ((void *)addr)) { + switch (genimg_get_format ((void *)addr)) { case IMAGE_FORMAT_LEGACY: hdr = (image_header_t *)addr; |