]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_ambapp.c
MAINTAINERS: fix Andreas Bießmann AVR32 entry
[karo-tx-uboot.git] / common / cmd_ambapp.c
index 738412b7fa4e0bfea60e3254a6959e1505d08789..fa7d7e280fb8acd386f376a6a61e4b13a69bf6a6 100644 (file)
@@ -33,11 +33,11 @@ DECLARE_GLOBAL_DATA_PTR;
 
 /* We put these variables into .data section so that they are zero
  * when entering the AMBA Plug & Play routines (in cpu/cpu/ambapp.c)
- * the first time. BSS is not garantueed to be zero since BSS 
+ * the first time. BSS is not garantueed to be zero since BSS
  * hasn't been cleared the first times entering the CPU AMBA functions.
  *
  * The AMBA PnP routines call these functions if ambapp_???_print is set.
- * 
+ *
  */
 int ambapp_apb_print __attribute__ ((section(".data"))) = 0;
 int ambapp_ahb_print __attribute__ ((section(".data"))) = 0;
@@ -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 */
@@ -272,7 +272,9 @@ int ambapp_init_reloc(void)
        return 0;
 }
 
-U_BOOT_CMD(ambapp, 1, 1, do_ambapp_print,
-          "ambapp  - list AMBA Plug&Play information\n",
-          "ambapp\n"
-          "    - lists AMBA (AHB & APB) Plug&Play devices present on the system\n");
+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"
+);