]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_spibootldr.c
sniper: Serial number support, obtained from die ID
[karo-tx-uboot.git] / common / cmd_spibootldr.c
index d29ed2bd85a6cabcc2a97081ae41acb81de3bd1d..ca76dde1ddad374975595bf8ad7a735a5a403851 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/blackfin.h>
 #include <asm/mach-common/bits/bootrom.h>
 
-int do_spibootldr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_spibootldr(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 {
        s32 addr;
 
@@ -30,7 +30,8 @@ int do_spibootldr(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
        return bfrom_SpiBoot(addr, BFLAG_PERIPHERAL | 4, 0, NULL);
 }
 
-U_BOOT_CMD(spibootldr, 2, 0, do_spibootldr,
+U_BOOT_CMD(
+       spibootldr, 2, 0, do_spibootldr,
        "boot ldr image from spi",
        "[offset]\n"
        "    - boot ldr image stored at offset into spi\n");