]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - common/spl/spl_nor.c
spl, spl_nor: fix compiler warning
[karo-tx-uboot.git] / common / spl / spl_nor.c
index 2c0e8e00dd2cfeb63021b383cc514725c38d8df2..c2fee01ac1c4717d3094e1fa6d2bcfde3733c46b 100644 (file)
@@ -17,7 +17,7 @@ void spl_nor_load_image(void)
 
 #ifdef CONFIG_SPL_OS_BOOT
        if (!spl_start_uboot()) {
-               struct image_header *header;
+               const struct image_header *header;
 
                /*
                 * Load Linux from its location in NOR flash to its defined