]> git.sur5r.net Git - u-boot/commitdiff
[new uImage] Make node unit names const in struct bootm_headers
authorMarian Balakowicz <m8@semihalf.com>
Mon, 10 Mar 2008 16:53:49 +0000 (17:53 +0100)
committerMarian Balakowicz <m8@semihalf.com>
Mon, 10 Mar 2008 16:53:49 +0000 (17:53 +0100)
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
include/image.h

index 704a3b442c5811f393a29b0896f01b0e1ebba142..bbd481d348916bcdd1b6736a1a36fefff2282c61 100644 (file)
@@ -200,14 +200,14 @@ typedef struct bootm_headers {
 
 #if defined(CONFIG_FIT)
        void            *fit_hdr_os;    /* os FIT image header */
-       char            *fit_uname_os;  /* os subimage node unit name */
+       const char      *fit_uname_os;  /* os subimage node unit name */
 
        void            *fit_hdr_rd;    /* init ramdisk FIT image header */
-       char            *fit_uname_rd;  /* init ramdisk node unit name */
+       const char      *fit_uname_rd;  /* init ramdisk node unit name */
 
 #if defined(CONFIG_PPC)
        void            *fit_hdr_fdt;   /* FDT blob FIT image header */
-       char            *fit_uname_fdt; /* FDT blob node unit name */
+       const char      *fit_uname_fdt; /* FDT blob node unit name */
 #endif
        int             verify;         /* getenv("verify")[0] != 'n' */
        int             autostart;      /* getenv("autostart")[0] != 'n' */