]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_ambapp.c
fdt relocate: have more attention to use a bootmap or not
[karo-tx-uboot.git] / common / cmd_ambapp.c
index 06531f12b32339ad9f514390920ee2e68ba084d0..283c433376fb2ae4873b1c9f696e5df16f865238 100644 (file)
@@ -223,7 +223,7 @@ void ambapp_print_ahb(ahbctrl_pp_dev * ahb, int index)
        printf("   irq: %-2d (ver: %d)\n", irq, ver);
 }
 
-int do_ambapp_print(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
+int do_ambapp_print(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
 {
 
        /* Print AHB Masters */
@@ -273,6 +273,7 @@ int ambapp_init_reloc(void)
 }
 
 U_BOOT_CMD(ambapp, 1, 1, do_ambapp_print,
-          "list AMBA Plug&Play information",
-          "ambapp\n"
-          "    - lists AMBA (AHB & APB) Plug&Play devices present on the system\n");
+       "list AMBA Plug&Play information",
+       "ambapp\n"
+       "    - lists AMBA (AHB & APB) Plug&Play devices present on the system"
+);