X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fcmd_ambapp.c;h=fa7d7e280fb8acd386f376a6a61e4b13a69bf6a6;hb=75acc4d7c1c9081e06d1197c6da01361cf1bce92;hp=738412b7fa4e0bfea60e3254a6959e1505d08789;hpb=8258b6e2f57f73b4cacda1ca513385d70f808777;p=karo-tx-uboot.git diff --git a/common/cmd_ambapp.c b/common/cmd_ambapp.c index 738412b7fa..fa7d7e280f 100644 --- a/common/cmd_ambapp.c +++ b/common/cmd_ambapp.c @@ -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" +);