* Map ISP1362 USB OTG controller for NSCU board
[platform/kernel/u-boot.git] / tools / mkimage.c
index 095880e..9de0224 100644 (file)
@@ -70,6 +70,7 @@ table_entry_t arch_name[] = {
     {  IH_CPU_SH,      "sh",           "SuperH",               },
     {  IH_CPU_SPARC,   "sparc",        "SPARC",                },
     {  IH_CPU_SPARC64, "sparc64",      "SPARC 64 Bit",         },
+    {  IH_CPU_M68K,    "m68k",         "MC68000",              },
     {  -1,             "",             "",                     },
 };
 
@@ -92,6 +93,8 @@ table_entry_t os_name[] = {
     {  IH_OS_PSOS,     "psos",         "pSOS",                 },
     {  IH_OS_QNX,      "qnx",          "QNX",                  },
     {  IH_OS_U_BOOT,   "u-boot",       "U-Boot",               },
+    {  IH_OS_RTEMS,    "rtems",        "RTEMS",                },
+    {  IH_OS_ARTOS,    "artos",        "ARTOS",                },
     {  -1,             "",             "",                     },
 };
 
@@ -600,8 +603,8 @@ print_header (image_header_t *hdr)
        printf ("Image Type:   "); print_type(hdr);
        printf ("Data Size:    %d Bytes = %.2f kB = %.2f MB\n",
                size, (double)size / 1.024e3, (double)size / 1.048576e6 );
-       printf ("Load Address: 0x%08x\n", ntohl(hdr->ih_load));
-       printf ("Entry Point:  0x%08x\n", ntohl(hdr->ih_ep));
+       printf ("Load Address: 0x%08X\n", ntohl(hdr->ih_load));
+       printf ("Entry Point:  0x%08X\n", ntohl(hdr->ih_ep));
 
        if (hdr->ih_type == IH_TYPE_MULTI || hdr->ih_type == IH_TYPE_SCRIPT) {
                int i, ptrs;
@@ -628,7 +631,7 @@ print_header (image_header_t *hdr)
                                 * if planning to do something with
                                 * multiple files
                                 */
-                               printf ("    Offset = %08x\n", pos);
+                               printf ("    Offset = %08X\n", pos);
                        }
                        /* copy_file() will pad the first files to even word align */
                        size += 3;