"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

cmd: Remove duplicate newlines

Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>

authored by

Marek Vasut and committed by
Tom Rini
e569c73a 789934f1

-44
-1
cmd/ab_select.c
··· 35 35 return CMD_RET_FAILURE; 36 36 } 37 37 38 - 39 38 ret = ab_select_slot(dev_desc, &part_info, dec_tries); 40 39 if (ret < 0) { 41 40 printf("Android boot failed, error %d.\n", ret);
-2
cmd/bootm.c
··· 256 256 257 257 #endif 258 258 259 - 260 259 /*******************************************************************/ 261 260 /* iminfo - print header info for a requested image */ 262 261 /*******************************************************************/ ··· 360 359 " image contents (magic number, header and payload checksums)" 361 360 ); 362 361 #endif 363 - 364 362 365 363 /*******************************************************************/ 366 364 /* imls - list all images found in flash */
-1
cmd/bootstage.c
··· 86 86 return CMD_RET_USAGE; 87 87 } 88 88 89 - 90 89 U_BOOT_CMD(bootstage, 4, 1, do_boostage, 91 90 "Boot stage command", 92 91 " - check boot progress and timing\n"
-1
cmd/cache.c
··· 86 86 return -1; 87 87 } 88 88 89 - 90 89 U_BOOT_CMD( 91 90 icache, 2, 1, do_icache, 92 91 "enable or disable instruction cache",
-1
cmd/console.c
··· 47 47 return 0; 48 48 } 49 49 50 - 51 50 /***************************************************/ 52 51 53 52 U_BOOT_CMD(
-2
cmd/cramfs.c
··· 6 6 * Add support for a CRAMFS located in RAM 7 7 */ 8 8 9 - 10 9 /* 11 10 * CRAMFS support 12 11 */ ··· 31 30 #else 32 31 # define DEBUGF(fmt, args...) 33 32 #endif 34 - 35 33 36 34 #ifndef CONFIG_MTD_NOR_FLASH 37 35 # define OFFSET_ADJUSTMENT 0
-1
cmd/extension_board.c
··· 98 98 return extension_num; 99 99 } 100 100 101 - 102 101 static int do_extension_scan(struct cmd_tbl *cmdtp, int flag, 103 102 int argc, char *const argv[]) 104 103 {
-1
cmd/fat.c
··· 32 32 return do_load(cmdtp, flag, argc, argv, FS_TYPE_FAT); 33 33 } 34 34 35 - 36 35 U_BOOT_CMD( 37 36 fatload, 7, 0, do_fat_fsload, 38 37 "load binary file from a dos filesystem",
-1
cmd/font.c
··· 77 77 return 0; 78 78 } 79 79 80 - 81 80 U_BOOT_LONGHELP(font, 82 81 "list - list available fonts\n" 83 82 "font select <name> [<size>] - select font to use\n"
-8
cmd/load.c
··· 417 417 418 418 #endif 419 419 420 - 421 420 #if defined(CONFIG_CMD_LOADB) 422 421 /* 423 422 * loadb command (load binary) included ··· 440 439 static void set_kerm_bin_mode(unsigned long *); 441 440 static int k_recv(void); 442 441 static ulong load_serial_bin(ulong offset); 443 - 444 442 445 443 static char his_eol; /* character he needs at end of packet */ 446 444 static int his_pad_count; /* number of pad chars he needs */ ··· 556 554 557 555 return rcode; 558 556 } 559 - 560 557 561 558 static ulong load_serial_bin(ulong offset) 562 559 { ··· 652 649 s1_sendpacket(a_b); 653 650 } 654 651 655 - 656 652 static void (*os_data_init)(void); 657 653 static void (*os_data_char)(char new_char); 658 654 static int os_data_state, os_data_state_saved; ··· 692 688 os_data_init = bin_data_init; 693 689 os_data_char = bin_data_char; 694 690 } 695 - 696 691 697 692 /* k_data_* simply handles the kermit escape translations */ 698 693 static int k_data_escape, k_data_escape_saved; ··· 1066 1061 xyzModem_stream_terminate(false, &getcxmodem); 1067 1062 xyzModem_stream_close(&err); 1068 1063 1069 - 1070 1064 flush_cache(offset, ALIGN(size, ARCH_DMA_MINALIGN)); 1071 1065 1072 1066 printf("## Total Size = 0x%08x = %d Bytes\n", size, size); ··· 1141 1135 * SAVES always requires LOADS support, but not vice versa 1142 1136 */ 1143 1137 1144 - 1145 1138 #if defined(CONFIG_CMD_SAVES) 1146 1139 #ifdef CONFIG_SYS_LOADS_BAUD_CHANGE 1147 1140 U_BOOT_CMD( ··· 1161 1154 #endif /* CONFIG_SYS_LOADS_BAUD_CHANGE */ 1162 1155 #endif /* CONFIG_CMD_SAVES */ 1163 1156 #endif /* CONFIG_CMD_LOADS */ 1164 - 1165 1157 1166 1158 #if defined(CONFIG_CMD_LOADB) 1167 1159 U_BOOT_CMD(
-2
cmd/mem.c
··· 1316 1316 "[.b, .w, .l" HELP_Q "] address [# of objects]" 1317 1317 ); 1318 1318 1319 - 1320 1319 U_BOOT_CMD( 1321 1320 mm, 2, 1, do_mem_mm, 1322 1321 "memory modify (auto-incrementing address)", 1323 1322 "[.b, .w, .l" HELP_Q "] address" 1324 1323 ); 1325 - 1326 1324 1327 1325 U_BOOT_CMD( 1328 1326 nm, 2, 1, do_mem_nm,
-1
cmd/mp.c
··· 42 42 return 1; 43 43 } 44 44 45 - 46 45 if (argc == 3) { 47 46 if (strncmp(argv[2], "reset", 5) == 0) 48 47 cpu_reset(cpuid);
-4
cmd/mtdparts.c
··· 291 291 index_partitions(); 292 292 } 293 293 294 - 295 294 /** 296 295 * Produce a mtd_info given a type and num. 297 296 * ··· 400 399 401 400 return 0; 402 401 } 403 - 404 402 405 403 /** 406 404 * Performs sanity check for supplied partition. Offset and size are ··· 1128 1126 p += len; 1129 1127 maxlen -= len; 1130 1128 1131 - 1132 1129 /* add offset only when there is a gap between 1133 1130 * partitions */ 1134 1131 if ((!prev_part && (offset != 0)) || ··· 1708 1705 1709 1706 return 0; 1710 1707 } 1711 - 1712 1708 1713 1709 /** 1714 1710 * Parse and initialize global mtdids mapping and create global
-1
cmd/net.c
··· 97 97 ); 98 98 #endif 99 99 100 - 101 100 #ifdef CONFIG_CMD_RARP 102 101 int do_rarpb(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) 103 102 {
-1
cmd/spl.c
··· 66 66 bootm_argv[2] = argv[0]; /* kernel addr */ 67 67 } 68 68 69 - 70 69 /* 71 70 * - do the work - 72 71 * exec subcommands of do_bootm to init the images
-1
cmd/terminal.c
··· 66 66 return 0; 67 67 } 68 68 69 - 70 69 /***************************************************/ 71 70 72 71 U_BOOT_CMD(
-1
cmd/tpm_test.c
··· 424 424 } \ 425 425 } while (0) 426 426 427 - 428 427 static int test_timing(struct udevice *dev) 429 428 { 430 429 uint8_t in[20], out[20];
-1
cmd/ubifs.c
··· 4 4 * Stefan Roese, DENX Software Engineering, sr@denx.de. 5 5 */ 6 6 7 - 8 7 /* 9 8 * UBIFS command support 10 9 */
-6
cmd/universe.c
··· 14 14 #define PCI_VENDOR PCI_VENDOR_ID_TUNDRA 15 15 #define PCI_DEVICE PCI_DEVICE_ID_TUNDRA_CA91C042 16 16 17 - 18 17 typedef struct _UNI_DEV UNI_DEV; 19 18 20 19 struct _UNI_DEV { ··· 25 24 }; 26 25 27 26 static UNI_DEV *dev; 28 - 29 27 30 28 int universe_init(void) 31 29 { ··· 111 109 break_20: 112 110 return result; 113 111 } 114 - 115 112 116 113 /* 117 114 * Create pci slave window (access: pci -> vme) ··· 209 206 return -result; 210 207 } 211 208 212 - 213 209 /* 214 210 * Create vme slave window (access: vme -> pci) 215 211 */ ··· 294 290 return -result; 295 291 } 296 292 297 - 298 293 /* 299 294 * Tundra Universe configuration 300 295 */ ··· 341 336 342 337 return 0; 343 338 } 344 - 345 339 346 340 U_BOOT_CMD( 347 341 universe, 8, 1, do_universe,
-2
cmd/usb.c
··· 549 549 } 550 550 } 551 551 552 - 553 552 /****************************************************************************** 554 553 * usb boot command intepreter. Derived from diskboot 555 554 */ ··· 736 735 " from memory address `addr'" 737 736 #endif /* CONFIG_USB_STORAGE */ 738 737 ); 739 - 740 738 741 739 #ifdef CONFIG_USB_STORAGE 742 740 U_BOOT_CMD(
-1
cmd/ximg.c
··· 7 7 * Kai-Uwe Bloem, Auerswald GmbH & Co KG, <linux-development@auerswald.de> 8 8 */ 9 9 10 - 11 10 /* 12 11 * Multi Image extract 13 12 */
-1
cmd/yaffs2.c
··· 13 13 * ... 14 14 */ 15 15 16 - 17 16 #include <config.h> 18 17 #include <command.h> 19 18
-3
cmd/zfs.c
··· 119 119 return 0; 120 120 } 121 121 122 - 123 122 int zfs_print(const char *entry, const struct zfs_dirhook_info *data) 124 123 { 125 124 printf("%s %s\n", ··· 127 126 entry); 128 127 return 0; /* 0 continue, 1 stop */ 129 128 } 130 - 131 129 132 130 static int do_zfs_ls(struct cmd_tbl *cmdtp, int flag, int argc, 133 131 char *const argv[]) ··· 156 154 157 155 return 0; 158 156 } 159 - 160 157 161 158 U_BOOT_CMD(zfsls, 4, 1, do_zfs_ls, 162 159 "list files in a directory (default /)",