summaryrefslogtreecommitdiff
path: root/cleopatre/u-boot-1.1.6/common
diff options
context:
space:
mode:
authorJérémy Dufour2012-11-19 13:18:38 +0100
committerJérémy Dufour2012-11-21 17:10:02 +0100
commit15a6f2660cf247a8c86b15e64fcbfe75b91d9b37 (patch)
tree475ee06430f390a7ffb4c3dcb080dcaa468b8dd3 /cleopatre/u-boot-1.1.6/common
parentef076f3ba327cbdca39dd3f9b421ea1541078da8 (diff)
cleo/u-boot: remove non maintained code from spidboot, refs #3452
Diffstat (limited to 'cleopatre/u-boot-1.1.6/common')
-rw-r--r--cleopatre/u-boot-1.1.6/common/cmd_spidboot.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c b/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
index 67e04ca012..4c351e93e8 100644
--- a/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
+++ b/cleopatre/u-boot-1.1.6/common/cmd_spidboot.c
@@ -185,28 +185,6 @@ static void setup_end_tag (bd_t *bd)
#endif /* CONFIG_SETUP_MEMORY_TAGS || CONFIG_CMDLINE_TAG */
-#if 0
-static void
-print_img_desc (spidcom_image_desc_t *hdr)
-{
- uint32_t size;
-
- size = hdr->size;
-
- printf ("Image Description: %.*s\n", 64, hdr->description);
- printf ("Index number: %d\n", hdr->index);
- printf ("Image Version: %.*s\n", 16, hdr->version);
- printf ("Architecture: %d\n", hdr->arch);
- printf ("Image Type: %d\n", hdr->type);
- printf ("Image Validity: %d\n", hdr->is_valid);
- printf ("Image First Boot: %d\n", hdr->is_1st_boot);
- printf ("Image First Boot Sucessful: %d\n", hdr->is_not_success);
- printf ("Is update process not finished : %d\n", hdr->is_not_update);
- printf ("Data Size: %d Bytes = %.2d kB = %.2d MB\n",
- size, size / 1024, size / 1048576 );
-}
-#endif
-
/* --- SPiDBOOT --- */
static int load_header(spidcom_image_desc_t *desc, char *addr)
{