Skip to contentSkip to conversation

Coding Style cleanup

PATCH Superseded Wolfgang Denk 5 participants 16 messages Oct 4, 2013 – Oct 14, 2013 Page 2 of 2

Subsystems (31)
Network drivers Arm (32-bit) x86 USB +27 more subsystems
lore
Share & tools
lore
#6 lore raw

PATCH 2/4 Coding Style cleanup: replace leading SPACEs by TABs

In reply to Wolfgang Denk
---
 MAKEALL                                            |    4 +-
 README                                             |   20 +-
 arch/arm/config.mk                                 |    2 +-
 arch/arm/cpu/armv7/mx5/lowlevel_init.S             |   44 +-
 arch/arm/dts/exynos5250.dtsi                       |    2 +-
 arch/arm/lib/relocate.S                            |    4 +-
 arch/blackfin/cpu/traps.c                          |    2 +-
 .../include/asm/mach-common/bits/lockbox.h         |    2 +-
 arch/m68k/lib/traps.c                              |    2 +-
 arch/nios2/cpu/epcs.c                              |    2 +-
 arch/nios2/lib/libgcc.c                            |    2 +-
 arch/openrisc/cpu/cpu.c                            |    4 +-
 arch/powerpc/cpu/mpc83xx/cpu_init.c                |   10 +-
 arch/powerpc/cpu/mpc83xx/pci.c                     |    4 +-
 arch/powerpc/cpu/ppc4xx/4xx_pci.c                  |    4 +-
 board/Barix/ipam390/README.ipam390                 |    2 +-
 board/altera/common/sevenseg.c                     |    4 +-
 board/boundary/nitrogen6x/6x_upgrade.txt           |   52 +-
 board/chromebook-x86/dts/alex.dts                  |   10 +-
 board/chromebook-x86/dts/link.dts                  |   10 +-
 board/cobra5272/bdm/cobra5272_uboot.gdb            |    4 +-
 board/cogent/flash.c                               |    2 +-
 board/cray/L1/bootscript.hush                      |    6 +-
 board/esd/common/lcd.h                             |    2 +-
 board/esd/cpci750/ide.c                            |    2 +-
 board/esd/cpci750/pci.c                            |    2 +-
 board/etin/debris/flash.c                          |   12 +-
 board/evb64260/flash.c                             |   14 +-
 board/evb64260/mpsc.c                              |    4 +-
 board/fads/fads.c                                  |    4 +-
 board/freescale/b4860qds/tlb.c                     |    2 +-
 board/freescale/bsc9132qds/README                  |   10 +-
 board/freescale/mpc8313erdb/mpc8313erdb.c          |    4 +-
 board/freescale/mpc8360emds/mpc8360emds.c          |    4 +-
 board/funkwerk/vovpn-gw/vovpn-gw.c                 |    6 +-
 board/gen860t/flash.c                              |    2 +-
 board/incaip/incaip.c                              |    4 +-
 board/matrix_vision/mvbc_p/Makefile                |    2 +-
 board/matrix_vision/mvsmr/Makefile                 |    2 +-
 board/openrisc/openrisc-generic/or1ksim.cfg        |  122 +-
 board/ppmc8260/strataflash.c                       |    2 +-
 board/pxa255_idp/pxa_reg_calcs.py                  |    6 +-
 board/rbc823/rbc823.c                              |    2 +-
 board/samsung/dts/exynos5250-snow.dts              |    6 +-
 board/svm_sc8xx/svm_sc8xx.c                        |    2 +-
 boards.cfg                                         |    2 +-
 common/cmd_bmp.c                                   |    6 +-
 common/main.c                                      |    2 +-
 config.mk                                          |    2 +-
 doc/DocBook/Makefile                               |    4 +-
 doc/README.ext4                                    |   34 +-
 doc/README.kwbimage                                |    6 +-
 doc/README.mxc_hab                                 |    2 +-
 doc/README.mxsimage                                |   24 +-
 doc/README.nokia_rx51                              |    2 +-
 doc/README.ramboot-ppc85xx                         |   10 +-
 doc/README.trace                                   |   24 +-
 doc/README.ubi                                     |    4 +-
 doc/README.zfs                                     |   18 +-
 doc/driver-model/UDM-cores.txt                     |   24 +-
 doc/driver-model/UDM-design.txt                    |   12 +-
 doc/driver-model/UDM-gpio.txt                      |    4 +-
 doc/driver-model/UDM-hwmon.txt                     |   10 +-
 doc/driver-model/UDM-mmc.txt                       |    6 +-
 doc/driver-model/UDM-power.txt                     |   12 +-
 doc/driver-model/UDM-rtc.txt                       |   26 +-
 doc/driver-model/UDM-spi.txt                       |   12 +-
 doc/driver-model/UDM-stdio.txt                     |   28 +-
 doc/driver-model/UDM-tpm.txt                       |    2 +-
 doc/driver-model/UDM-watchdog.txt                  |    6 +-
 drivers/mtd/nand/fsl_elbc_spl.c                    |   20 +-
 drivers/mtd/nand/fsl_upm.c                         |    8 +-
 drivers/mtd/nand/nand_base.c                       |    2 +-
 drivers/mtd/nand/nand_util.c                       |    4 +-
 drivers/mtd/ubi/crc32.c                            |    4 +-
 drivers/net/dm9000x.c                              |    2 +-
 drivers/net/plb2800_eth.c                          |    2 +-
 drivers/rtc/bfin_rtc.c                             |    2 +-
 drivers/rtc/pl031.c                                |    2 +-
 drivers/spi/mpc8xxx_spi.c                          |    4 +-
 drivers/spi/omap3_spi.c                            |   10 +-
 drivers/video/ati_radeon_fb.h                      |    2 +-
 fs/ubifs/super.c                                   |    2 +-
 include/configs/DU440.h                            |    2 +-
 include/configs/P3G4.h                             |    2 +-
 include/configs/RBC823.h                           |    6 +-
 include/configs/alpr.h                             |    2 +-
 include/configs/devkit8000.h                       |    4 +-
 include/configs/p3mx.h                             |    2 +-
 include/configs/p3p440.h                           |    2 +-
 include/configs/pcs440ep.h                         |    2 +-
 include/configs/pdnb3.h                            |    4 +-
 include/configs/uc100.h                            |    2 +-
 include/configs/zeus.h                             |    4 +-
 include/ddr_spd.h                                  |   34 +-
 nand_spl/nand_boot_fsl_elbc.c                      |    2 +-
 post/lib_powerpc/andi.c                            |    2 +-
 post/lib_powerpc/cpu_asm.h                         |   32 +-
 post/lib_powerpc/rlwimi.c                          |    6 +-
 post/lib_powerpc/rlwinm.c                          |    6 +-
 post/lib_powerpc/rlwnm.c                           |    6 +-
 post/lib_powerpc/srawi.c                           |    6 +-
 post/lib_powerpc/three.c                           |    6 +-
 post/lib_powerpc/threei.c                          |    2 +-
 post/lib_powerpc/threex.c                          |    6 +-
 post/lib_powerpc/twox.c                            |    6 +-
 test/compression.c                                 |    4 +-
 test/image/test-fit.py                             |  236 +-
 tools/Makefile                                     |    2 +-
 tools/bddb/defs.php                                |    4 +-
 tools/buildman/README                              |  268 +--
 tools/buildman/board.py                            |  236 +-
 tools/buildman/bsettings.py                        |   18 +-
 tools/buildman/builder.py                          | 2374 ++++++++++----------
 tools/buildman/buildman.py                         |   16 +-
 tools/buildman/control.py                          |  136 +-
 tools/buildman/test.py                             |  162 +-
 tools/buildman/toolchain.py                        |  392 ++--
 tools/img2brec.sh                                  |   28 +-
 tools/imls/Makefile                                |    2 +-
 tools/kernel-doc/docproc.c                         |   52 +-
 tools/kernel-doc/kernel-doc                        |    2 +-
 tools/patman/checkpatch.py                         |  194 +-
 tools/patman/command.py                            |   98 +-
 tools/patman/commit.py                             |   84 +-
 tools/patman/cros_subprocess.py                    |  616 ++---
 tools/patman/get_maintainer.py                     |   22 +-
 tools/patman/gitutil.py                            |  316 +--
 tools/patman/patchstream.py                        |  608 ++---
 tools/patman/patman.py                             |   80 +-
 tools/patman/project.py                            |    8 +-
 tools/patman/series.py                             |  442 ++--
 tools/patman/settings.py                           |  232 +-
 tools/patman/terminal.py                           |   18 +-
 tools/patman/test.py                               |  150 +-
 tools/reformat.py                                  |    2 +-
 tools/scripts/make-asm-offsets                     |    2 +-
 tools/ubsha1.c                                     |    8 +-
 138 files changed, 3859 insertions(+), 3859 deletions(-)
MAKEALL +2 -2
index c0d04fb..80f4fbe 100755
@@ -38,8 +38,8 @@ usage()
 	  BUILD_NCPUS      number of parallel make jobs (default: auto)
 	  CROSS_COMPILE    cross-compiler toolchain prefix (default: "")
 	  CROSS_COMPILE_<ARCH> cross-compiler toolchain prefix for
-	                   architecture "ARCH".  Substitute "ARCH" for any
-	                   supported architecture (default: "")
+			   architecture "ARCH".  Substitute "ARCH" for any
+			   supported architecture (default: "")
 	  MAKEALL_LOGDIR   output all logs to here (default: ./LOG/)
 	  BUILD_DIR        output build directory (default: ./)
 	  BUILD_NBUILDS	   number of parallel targets (default: 1)
README +10 -10
index b99a444..9734dc7 100644
@@ -945,10 +945,10 @@ The following options need to be configured:
 
 - Regular expression support:
 		CONFIG_REGEX
-                If this variable is defined, U-Boot is linked against
-                the SLRE (Super Light Regular Expression) library,
-                which adds regex support to some commands, as for
-                example "env grep" and "setexpr".
+		If this variable is defined, U-Boot is linked against
+		the SLRE (Super Light Regular Expression) library,
+		which adds regex support to some commands, as for
+		example "env grep" and "setexpr".
 
 - Device tree:
 		CONFIG_OF_CONTROL
@@ -1097,8 +1097,8 @@ The following options need to be configured:
 		devices.
 		CONFIG_SYS_SCSI_SYM53C8XX_CCF to fix clock timing (80Mhz)
 
-                The environment variable 'scsidevs' is set to the number of
-                SCSI devices found during the last scan.
+		The environment variable 'scsidevs' is set to the number of
+		SCSI devices found during the last scan.
 
 - NETWORK Support (PCI):
 		CONFIG_E1000
@@ -1988,7 +1988,7 @@ CBFS (Coreboot Filesystem) support
 		    offset CONFIG_SYS_FSL_I2C_SPEED for the i2c speed and
 		    CONFIG_SYS_FSL_I2C_SLAVE for the slave addr of the first
 		    bus.
-                  - If your board supports a second fsl i2c bus, define
+		  - If your board supports a second fsl i2c bus, define
 		    CONFIG_SYS_FSL_I2C2_OFFSET for the register offset
 		    CONFIG_SYS_FSL_I2C2_SPEED for the speed and
 		    CONFIG_SYS_FSL_I2C2_SLAVE for the slave address of the
@@ -3192,9 +3192,9 @@ FIT uImage format:
 		CONFIG_TPL_PAD_TO
 		Image offset to which the TPL should be padded before appending
 		the TPL payload. By default, this is defined as
-                CONFIG_SPL_MAX_SIZE, or 0 if CONFIG_SPL_MAX_SIZE is undefined.
-                CONFIG_SPL_PAD_TO must be either 0, meaning to append the SPL
-                payload without any padding, or >= CONFIG_SPL_MAX_SIZE.
+		CONFIG_SPL_MAX_SIZE, or 0 if CONFIG_SPL_MAX_SIZE is undefined.
+		CONFIG_SPL_PAD_TO must be either 0, meaning to append the SPL
+		payload without any padding, or >= CONFIG_SPL_MAX_SIZE.
 
 Modem Support:
 --------------
arch/arm/config.mk +1 -1
index d0cf43f..bdabcf4 100644
@@ -17,7 +17,7 @@ endif
 
 LDFLAGS_FINAL += --gc-sections
 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \
-                     -fno-common -ffixed-r9 -msoft-float
+		     -fno-common -ffixed-r9 -msoft-float
 
 # Support generic board on ARM
 __HAVE_ARCH_GENERIC_BOARD := y
arch/arm/cpu/armv7/mx5/lowlevel_init.S +22 -22

72 lines not on this page · raw message

arch/arm/dts/exynos5250.dtsi +1 -1
index 1c5474f..44cbb5a 100644
@@ -140,7 +140,7 @@
 		reg = <0x12d40000 0x30>;
 		clock-frequency = <50000000>;
 		interrupts = <0 70 0>;
-        };
+	};
 
 	spi at 131a0000 {
 		#address-cells = <1>;
arch/arm/lib/relocate.S +2 -2
index a62a556..8035251 100644
@@ -66,9 +66,9 @@ relocate_done:
 	/* ARMv4- don't know bx lr but the assembler fails to see that */
 
 #ifdef __ARM_ARCH_4__
-        mov        pc, lr
+	mov        pc, lr
 #else
-        bx        lr
+	bx        lr
 #endif
 
 ENDPROC(relocate_code)
arch/blackfin/cpu/traps.c +1 -1
index 20aeab8..10f72f8 100644
@@ -261,7 +261,7 @@ static void decode_address(char *buf, unsigned long address)
 	if (!address)
 		sprintf(buf, "<0x%p> /* Maybe null pointer? */", paddr);
 	else if (address >= CONFIG_SYS_MONITOR_BASE &&
-	         address < CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
+		 address < CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
 		sprintf(buf, "<0x%p> /* somewhere in u-boot */", paddr);
 	else
 		sprintf(buf, "<0x%p> /* unknown address */", paddr);
arch/blackfin/include/asm/mach-common/bits/lockbox.h +1 -1
index 77f849e..17d22ab 100644
@@ -16,7 +16,7 @@ typedef struct SESR_args {
 	unsigned long   ulMessageSize;      /* message length in bytes            */
 	unsigned long   ulSFEntryPoint;     /* entry point of secure function     */
 	unsigned long   ulMessagePtr;       /* pointer to the buffer containing
-	                                       the digital signature and message  */
+					       the digital signature and message  */
 	unsigned long   ulReserved1;        /* reserved                           */
 	unsigned long   ulReserved2;        /* reserved                           */
 } tSESR_args;
arch/m68k/lib/traps.c +1 -1
index 55bf0c2..cbd410c 100644
@@ -20,7 +20,7 @@ extern void _int_handler(void);
 static void show_frame(struct pt_regs *fp)
 {
 	printf ("Vector Number: %d  Format: %02x  Fault Status: %01x\n\n", (fp->vector & 0x3fc) >> 2,
-	        fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8));
+		fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8));
 	printf ("PC: %08lx    SR: %08lx    SP: %08lx\n", fp->pc, (long) fp->sr, (long) fp);
 	printf ("D0: %08lx    D1: %08lx    D2: %08lx    D3: %08lx\n",
 		fp->d0, fp->d1, fp->d2, fp->d3);
arch/nios2/cpu/epcs.c +1 -1
index c83f5ee..9758552 100644
@@ -475,7 +475,7 @@ void do_epcs_info (struct epcs_devinfo_t *dev, int argc, char * const argv[])
 	printf ("status: 0x%02x (WIP:%d, WEL:%d, PROT:%s)\n",
 		stat,
 		(stat & EPCS_STATUS_WIP) ? 1 : 0,
-	        (stat & EPCS_STATUS_WEL) ? 1 : 0,
+		(stat & EPCS_STATUS_WEL) ? 1 : 0,
 		(stat & dev->prot_mask) ? "on" : "off" );
 
 	/* Configuration  */
arch/nios2/lib/libgcc.c +1 -1
index 3caee19..cf1b836 100644
@@ -548,7 +548,7 @@ __mulsi3 (SItype a, SItype b)
   while (cnt)
     {
       if (cnt & 1)
-        {
+	{
 	  res += b;
 	}
       b <<= 1;
arch/openrisc/cpu/cpu.c +2 -2
index f238fe4..272656a 100644
@@ -138,8 +138,8 @@ int do_reset(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
 	/* Code the jump to __reset here as the compiler is prone to
 	   emitting a bad jump instruction if the function is in flash */
 	__asm__("l.movhi r1,hi(__reset);  \
-                 l.ori r1,r1,lo(__reset); \
-                 l.jr r1");
+		 l.ori r1,r1,lo(__reset); \
+		 l.jr r1");
 	/* not reached, __reset does not return */
 	return 0;
 }
arch/powerpc/cpu/mpc83xx/cpu_init.c +5 -5
index d568f88..0e9ddb8 100644
@@ -425,15 +425,15 @@ static int print_83xx_arb_event(int force)
 	};
 
 	int etype = (gd->arch.arbiter_event_attributes & AEATR_EVENT)
-	            >> AEATR_EVENT_SHIFT;
+		    >> AEATR_EVENT_SHIFT;
 	int mstr_id = (gd->arch.arbiter_event_attributes & AEATR_MSTR_ID)
-	              >> AEATR_MSTR_ID_SHIFT;
+		      >> AEATR_MSTR_ID_SHIFT;
 	int tbst = (gd->arch.arbiter_event_attributes & AEATR_TBST)
-	           >> AEATR_TBST_SHIFT;
+		   >> AEATR_TBST_SHIFT;
 	int tsize = (gd->arch.arbiter_event_attributes & AEATR_TSIZE)
-	            >> AEATR_TSIZE_SHIFT;
+		    >> AEATR_TSIZE_SHIFT;
 	int ttype = (gd->arch.arbiter_event_attributes & AEATR_TTYPE)
-	            >> AEATR_TTYPE_SHIFT;
+		    >> AEATR_TTYPE_SHIFT;
 
 	if (!force && !gd->arch.arbiter_event_address)
 		return 0;
arch/powerpc/cpu/mpc83xx/pci.c +2 -2
index e073c90..30606fb 100644
@@ -67,7 +67,7 @@ static void pci_init_bus(int bus, struct pci_region *reg)
 	pci_ctrl->pibar1 = 0;
 	pci_ctrl->piebar1 = 0;
 	pci_ctrl->piwar1 = PIWAR_EN | PIWAR_PF | PIWAR_RTT_SNOOP |
-	                   PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1));
+			   PIWAR_WTT_SNOOP | (__ilog2(gd->ram_size - 1));
 
 	i = hose->region_count++;
 	hose->regions[i].bus_start = 0;
@@ -79,7 +79,7 @@ static void pci_init_bus(int bus, struct pci_region *reg)
 	hose->last_busno = 0xff;
 
 	pci_setup_indirect(hose, CONFIG_SYS_IMMR + 0x8300 + bus * 0x80,
-	                         CONFIG_SYS_IMMR + 0x8304 + bus * 0x80);
+				 CONFIG_SYS_IMMR + 0x8304 + bus * 0x80);
 
 	pci_register_hose(hose);
 
arch/powerpc/cpu/ppc4xx/4xx_pci.c +2 -2
index 08781a1..33dc725 100644
@@ -143,14 +143,14 @@ void pci_405gp_init(struct pci_controller *hose)
 	ptmla_str = getenv("ptm1la");
 	ptmms_str = getenv("ptm1ms");
 	if(NULL != ptmla_str && NULL != ptmms_str ) {
-	        ptmla[0] = simple_strtoul (ptmla_str, NULL, 16);
+		ptmla[0] = simple_strtoul (ptmla_str, NULL, 16);
 		ptmms[0] = simple_strtoul (ptmms_str, NULL, 16);
 	}
 
 	ptmla_str = getenv("ptm2la");
 	ptmms_str = getenv("ptm2ms");
 	if(NULL != ptmla_str && NULL != ptmms_str ) {
-	        ptmla[1] = simple_strtoul (ptmla_str, NULL, 16);
+		ptmla[1] = simple_strtoul (ptmla_str, NULL, 16);
 		ptmms[1] = simple_strtoul (ptmms_str, NULL, 16);
 	}
 #endif
board/Barix/ipam390/README.ipam390 +1 -1
index 2d155a3..5c45fca 100644
@@ -50,7 +50,7 @@ TFTP from server 192.168.1.1; our IP address is 192.168.20.71
 Filename '/tftpboot/ipam390/u-boot.ais'.
 Load address: 0xc0000000
 Loading: ##################################
-         1.5 MiB/s
+	 1.5 MiB/s
 done
 Bytes transferred = 493716 (78894 hex)
 
board/altera/common/sevenseg.c +2 -2
index 7ae7ca2..1f22c85 100644
@@ -87,10 +87,10 @@ static inline void __sevenseg_set (unsigned int value)
 
 #if (SEVENSEG_ACTIVE == 0)
 	sevenseg_portval = (sevenseg_portval &   SEVENDEG_MASK_DP)
-		         | ((~value)         & (~SEVENDEG_MASK_DP));
+			 | ((~value)         & (~SEVENDEG_MASK_DP));
 #else
 	sevenseg_portval = (sevenseg_portval & SEVENDEG_MASK_DP)
-		         | (value);
+			 | (value);
 #endif
 
 	piop->data = sevenseg_portval;
board/boundary/nitrogen6x/6x_upgrade.txt +26 -26

65 lines not on this page · raw message

board/chromebook-x86/dts/alex.dts +5 -5
index cb6a9e4..2f13544 100644
@@ -3,8 +3,8 @@
 /include/ "coreboot.dtsi"
 
 / {
-        #address-cells = <1>;
-        #size-cells = <1>;
+	#address-cells = <1>;
+	#size-cells = <1>;
 	model = "Google Alex";
 	compatible = "google,alex", "intel,atom-pineview";
 
@@ -12,13 +12,13 @@
 	       silent_console = <0>;
 	};
 
-        gpio: gpio {};
+	gpio: gpio {};
 
 	serial {
 		reg = <0x3f8 8>;
 		clock-frequency = <115200>;
 	};
 
-        chosen { };
-        memory { device_type = "memory"; reg = <0 0>; };
+	chosen { };
+	memory { device_type = "memory"; reg = <0 0>; };
 };
board/chromebook-x86/dts/link.dts +5 -5
index c95ee8a..4a37dac 100644
@@ -3,8 +3,8 @@
 /include/ "coreboot.dtsi"
 
 / {
-        #address-cells = <1>;
-        #size-cells = <1>;
+	#address-cells = <1>;
+	#size-cells = <1>;
 	model = "Google Link";
 	compatible = "google,link", "intel,celeron-ivybridge";
 
@@ -12,15 +12,15 @@
 	       silent_console = <0>;
 	};
 
-        gpio: gpio {};
+	gpio: gpio {};
 
 	serial {
 		reg = <0x3f8 8>;
 		clock-frequency = <115200>;
 	};
 
-        chosen { };
-        memory { device_type = "memory"; reg = <0 0>; };
+	chosen { };
+	memory { device_type = "memory"; reg = <0 0>; };
 
 	spi {
 		#address-cells = <1>;
board/cobra5272/bdm/cobra5272_uboot.gdb +2 -2
index abecb40..61e778e 100644
@@ -1,11 +1,11 @@
 #
 # GDB Init script for the Coldfire 5272 processor.
 #
-# The main purpose of this script is to configure the
+# The main purpose of this script is to configure the 
 # DRAM controller so code can be loaded.
 #
 # This file was changed to suite the senTec COBRA5272 board.
-#
+# 
 
 define addresses
 
board/cogent/flash.c +1 -1
index 207380f..d4ae4d0 100644
@@ -487,7 +487,7 @@ flash_erase(flash_info_t *info, int s_first, int s_last)
 
 	if (haderr > 0) {
 		printf (" failed\n");
-	        rcode = 1;
+		rcode = 1;
 	}
 	else
 		printf (" done\n");
board/cray/L1/bootscript.hush +3 -3
index c9e3c91..f2f78ad 100644
@@ -47,7 +47,7 @@ else
 	echo no kernel to boot from $flash_krl, need tftp
 fi
 
-# Have a rootfs in flash?
+# Have a rootfs in flash? 
 echo test for SQUASHfs at $flash_rfs
 
 if imi $flash_rfs
@@ -69,7 +69,7 @@ fi
 
 # TFTP down a kernel
 if printenv bootfile
-then
+then 
 	tftp $tftp_addr $bootfile
 	setenv kernel $tftp_addr
 	echo I will boot the TFTP kernel
@@ -90,7 +90,7 @@ if printenv rootpath
 then
 	echo rootpath is $rootpath
 	if printenv initrd
-	then
+	then 
 		echo initrd is also specified, so use $initrd
 		tftp $tftp2_addr $initrd
 		setenv bootargs root=/dev/ram0 rw cwsroot=$serverip:$rootpath $bootargs
board/esd/common/lcd.h +1 -1
index 96e4b99..5b14bf9 100644
@@ -9,7 +9,7 @@
  * Neutralize little endians.
  */
 #define SWAP_LONG(data) ((unsigned long)                                  \
-		         (((unsigned long)(data) >> 24)                 | \
+			 (((unsigned long)(data) >> 24)                 | \
 			  ((unsigned long)(data)  << 24)                | \
 			  (((unsigned long)(data) >> 8) & 0x0000ff00 )  | \
 			   (((unsigned long)(data) << 8) & 0x00ff0000 )))
board/esd/cpci750/ide.c +1 -1
index 5f30685..f555c08 100644
@@ -43,7 +43,7 @@ int ide_preinit (void)
 	if (devbusfn != -1) {
 		cpci_hd_type = 1;
 	} else {
-	        devbusfn = pci_find_device (0x1095, 0x3114, 0);
+		devbusfn = pci_find_device (0x1095, 0x3114, 0);
 		if (devbusfn != -1) {
 			cpci_hd_type = 2;
 		}
board/esd/cpci750/pci.c +1 -1
index c9b3ac2..59f170a 100644
@@ -746,7 +746,7 @@ static int gt_read_config_dword (struct pci_controller *hose,
 	int bus = PCI_BUS (dev);
 
 	if ((bus == local_buses[0]) || (bus == local_buses[1])) {
-	        *value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,
+		*value = pciReadConfigReg ((PCI_HOST) hose->cfg_addr,
 					   offset | (PCI_FUNC(dev) << 8),
 					   PCI_DEV (dev));
 	} else {
board/etin/debris/flash.c +6 -6
index 9d22aa2..2657958 100644
@@ -323,7 +323,7 @@ int flash_erase (flash_info_t *flash, int s_first, int s_last)
 
 	if (prot)
 		printf ("- Warning: %d protected sectors will not be erased!\n",
-					                        prot);
+								prot);
 	else
 		printf ("\n");
 
@@ -365,7 +365,7 @@ static const struct jedec_flash_info jedec_table[] = {
 		DevSize: SIZE_1MiB,
 		NumEraseRegions: 4,
 		regions: {ERASEINFO(0x10000,15),
-		          ERASEINFO(0x08000,1),
+			  ERASEINFO(0x08000,1),
 			  ERASEINFO(0x02000,2),
 			  ERASEINFO(0x04000,1)
 		}
@@ -376,7 +376,7 @@ static const struct jedec_flash_info jedec_table[] = {
 		DevSize: SIZE_2MiB,
 		NumEraseRegions: 4,
 		regions: {ERASEINFO(0x10000,31),
-		          ERASEINFO(0x08000,1),
+			  ERASEINFO(0x08000,1),
 			  ERASEINFO(0x02000,2),
 			  ERASEINFO(0x04000,1)
 		}
@@ -387,7 +387,7 @@ static const struct jedec_flash_info jedec_table[] = {
 		DevSize: SIZE_2MiB,
 		NumEraseRegions: 4,
 		regions: {ERASEINFO(0x04000,1),
-		          ERASEINFO(0x02000,2),
+			  ERASEINFO(0x02000,2),
 			  ERASEINFO(0x08000,1),
 			  ERASEINFO(0x10000,31)
 		}
@@ -398,7 +398,7 @@ static const struct jedec_flash_info jedec_table[] = {
 		DevSize: SIZE_4MiB,
 		NumEraseRegions: 2,
 		regions: {ERASEINFO(0x10000,63),
-		          ERASEINFO(0x02000,8)
+			  ERASEINFO(0x02000,8)
 		}
 
 	}, {
@@ -408,7 +408,7 @@ static const struct jedec_flash_info jedec_table[] = {
 		DevSize: SIZE_4MiB,
 		NumEraseRegions: 2,
 		regions: {ERASEINFO(0x02000,8),
-		          ERASEINFO(0x10000,63)
+			  ERASEINFO(0x10000,63)
 		}
 	}
 };
board/evb64260/flash.c +7 -7
index 88c43ff..f3b0074 100644
@@ -60,7 +60,7 @@ flash_init (void)
 #define CONFIG_SYS_BOOT_FLASH_WIDTH	1
 #endif
 	size_b0 = flash_get_size(CONFIG_SYS_BOOT_FLASH_WIDTH, (vu_long *)base,
-	                         &flash_info[0]);
+				 &flash_info[0]);
 
 #ifndef CONFIG_P3G4
 	printf("[");
@@ -97,17 +97,17 @@ flash_init (void)
 #if CONFIG_SYS_MONITOR_BASE >= CONFIG_SYS_FLASH_BASE
 	/* monitor protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
-	              CONFIG_SYS_MONITOR_BASE,
-	              CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1,
-	              flash_get_info(CONFIG_SYS_MONITOR_BASE));
+		      CONFIG_SYS_MONITOR_BASE,
+		      CONFIG_SYS_MONITOR_BASE + monitor_flash_len - 1,
+		      flash_get_info(CONFIG_SYS_MONITOR_BASE));
 #endif
 
 #ifdef  CONFIG_ENV_IS_IN_FLASH
 	/* ENV protection ON by default */
 	flash_protect(FLAG_PROTECT_SET,
-	              CONFIG_ENV_ADDR,
-	              CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1,
-	              flash_get_info(CONFIG_ENV_ADDR));
+		      CONFIG_ENV_ADDR,
+		      CONFIG_ENV_ADDR + CONFIG_ENV_SIZE - 1,
+		      flash_get_info(CONFIG_ENV_ADDR));
 #endif
 
 	flash_size = size_b0 + size_b1;
board/evb64260/mpsc.c +2 -2
index 1a2ad20..c9da57c 100644
@@ -785,7 +785,7 @@ galmpsc_shutdown(int mpsc)
 
 	GT_REG_WRITE(GALSDMA_0_COM_REG + CHANNEL * GALSDMA_REG_DIFF, 0);
 	GT_REG_WRITE(GALSDMA_0_COM_REG + CHANNEL * GALSDMA_REG_DIFF,
-	             SDMA_TX_ABORT | SDMA_RX_ABORT);
+		     SDMA_TX_ABORT | SDMA_RX_ABORT);
 
 	/* shut down the MPSC */
 	GT_REG_WRITE(GALMPSC_MCONF_LOW, 0);
@@ -797,7 +797,7 @@ galmpsc_shutdown(int mpsc)
 	/* shut down the sdma engines. */
 	/* reset config to default */
 	GT_REG_WRITE(GALSDMA_0_CONF_REG + CHANNEL * GALSDMA_REG_DIFF,
-	             0x000000fc);
+		     0x000000fc);
 
 	udelay(100);
 
board/fads/fads.c +2 -2
index 3fe318f..89dd9ef 100644
@@ -434,7 +434,7 @@ static int _initsdram(uint base, uint noMbytes)
 	*/
 
 	memctl->memc_mcr = 0x80808111;   /* run umpb cs4 1 count 1, addr 0x11 ??? (50MHz) */
-	                                 /* run umpb cs4 1 count 1, addr 0x11 precharge+MRS (100MHz) */
+					 /* run umpb cs4 1 count 1, addr 0x11 precharge+MRS (100MHz) */
 	udelay(200);
 
 	/* Run 8 refresh cycles */
@@ -567,7 +567,7 @@ static int initsdram(uint base, uint *noMbytes)
 
 	if(!_initsdram(base, m))
 	{
-	        *noMbytes += m;
+		*noMbytes += m;
 		return 0;
 	}
 	else
board/freescale/b4860qds/tlb.c +1 -1
index f71aca4..00798a1 100644
@@ -68,7 +68,7 @@ struct fsl_e_tlb_entry tlb_table[] = {
 		      0, 3, BOOKE_PAGESZ_256M, 1),
 
 	SET_TLB_ENTRY(1, CONFIG_SYS_PCIE1_MEM_VIRT + 0x10000000,
-                      CONFIG_SYS_PCIE1_MEM_PHYS + 0x10000000,
+		      CONFIG_SYS_PCIE1_MEM_PHYS + 0x10000000,
 		      MAS3_SX|MAS3_SW|MAS3_SR, MAS2_I|MAS2_G,
 		      0, 4, BOOKE_PAGESZ_256M, 1),
 
board/freescale/bsc9132qds/README +5 -5
index 4a3dbfe..f8377c9 100644
@@ -23,14 +23,14 @@ Overview
       ECC), up to 1333 MHz data rate
     - Dedicated security engine featuring trusted boot
     - Two DMA controllers
-         - OCNDMA with four bidirectional channels
-         - SysDMA with sixteen bidirectional channels
+	 - OCNDMA with four bidirectional channels
+	 - SysDMA with sixteen bidirectional channels
     - Interfaces
-        - Four-lane SerDes PHY
+	- Four-lane SerDes PHY
 	    - PCI Express controller complies with the PEX Specification-Rev 2.0
-        - Two Common Public Radio Interface (CPRI) controller lanes
+	- Two Common Public Radio Interface (CPRI) controller lanes
 	    - High-speed USB 2.0 host and device controller with ULPI interface
-        - Enhanced secure digital (SD/MMC) host controller (eSDHC)
+	- Enhanced secure digital (SD/MMC) host controller (eSDHC)
 	    - Antenna interface controller (AIC), supporting four industry
 		standard JESD207/four custom ADI RF interfaces
        - ADI lanes support both full duplex FDD support & half duplex TDD
board/freescale/mpc8313erdb/mpc8313erdb.c +2 -2
index 591a4c6..69e98a5 100644
@@ -129,12 +129,12 @@ void board_init_f(ulong bootflag)
 {
 	board_early_init_f();
 	NS16550_init((NS16550_t)(CONFIG_SYS_IMMR + 0x4500),
-	             CONFIG_SYS_NS16550_CLK / 16 / CONFIG_BAUDRATE);
+		     CONFIG_SYS_NS16550_CLK / 16 / CONFIG_BAUDRATE);
 	puts("NAND boot... ");
 	init_timebase();
 	initdram(0);
 	relocate_code(CONFIG_SYS_NAND_U_BOOT_RELOC_SP, (gd_t *)gd,
-	              CONFIG_SYS_NAND_U_BOOT_RELOC);
+		      CONFIG_SYS_NAND_U_BOOT_RELOC);
 }
 
 void board_init_r(gd_t *gd, ulong dest_addr)
board/freescale/mpc8360emds/mpc8360emds.c +2 -2
index 39a86df..ac96163 100644
@@ -427,7 +427,7 @@ void ft_board_setup(void *blob, bd_t *bd)
 			if (prop) {
 				path = fdt_path_offset(blob, prop);
 				prop = fdt_getprop(blob, path,
-				                   "phy-connection-type", 0);
+						   "phy-connection-type", 0);
 				if (prop && (strcmp(prop, "rgmii-id") == 0))
 					fdt_fixup_phy_connection(blob, path,
 						PHY_INTERFACE_MODE_RGMII_RXID);
@@ -439,7 +439,7 @@ void ft_board_setup(void *blob, bd_t *bd)
 			if (prop) {
 				path = fdt_path_offset(blob, prop);
 				prop = fdt_getprop(blob, path,
-				                   "phy-connection-type", 0);
+						   "phy-connection-type", 0);
 				if (prop && (strcmp(prop, "rgmii-id") == 0))
 					fdt_fixup_phy_connection(blob, path,
 						PHY_INTERFACE_MODE_RGMII_RXID);
board/funkwerk/vovpn-gw/vovpn-gw.c +3 -3
index d33563b..c2aad6e 100644
@@ -270,9 +270,9 @@ int misc_init_r (void)
 	for (i = 0; i < 64; i++) {
 		c = *dummy;
 		printf( "UPMA[%02d]: 0x%08lx,0x%08lx: 0x%08lx\n",i,
-		        memctl->memc_mamr,
-		        memctl->memc_mar,
-		        memctl->memc_mdr );
+			memctl->memc_mamr,
+			memctl->memc_mar,
+			memctl->memc_mdr );
 	}
 	memctl->memc_mamr = 0x00044440;
 #endif
board/gen860t/flash.c +1 -1
index 8433d5d..ca1ed3d 100644
@@ -182,7 +182,7 @@ flash_get_offsets (ulong base, flash_info_t *info)
 
 		default:
 			printf ("Don't know sector offsets for FLASH"
-			        " type 0x%lx\n", info->flash_id);
+				" type 0x%lx\n", info->flash_id);
 	    return;
 	}
 }
board/incaip/incaip.c +2 -2
index 911fb63..217b8af 100644
@@ -58,9 +58,9 @@ phys_size_t initdram(int board_type)
 		for (rows = 0xB; rows <= 0xD; rows++)
 		{
 			*INCA_IP_SDRAM_MC_CFGPB0 = (0x14 << 8) |
-			                           (rows << 4) | cols;
+						   (rows << 4) | cols;
 			size = get_ram_size((long *)CONFIG_SYS_SDRAM_BASE,
-			                                     max_sdram_size());
+							     max_sdram_size());
 
 			if (size > max_size)
 			{
board/matrix_vision/mvbc_p/Makefile +1 -1
index 84add28..61474aa 100644
@@ -19,7 +19,7 @@ OBJS    := $(addprefix $(obj),$(COBJS))
 SOBJS   := $(addprefix $(obj),$(SOBJS))
 
 $(LIB): $(obj).depend $(OBJS)
-	        $(call cmd_link_o_target, $(OBJS))
+		$(call cmd_link_o_target, $(OBJS))
 
 #########################################################################
 
board/matrix_vision/mvsmr/Makefile +1 -1
index 0e53e8d..ef768fe 100644
@@ -19,7 +19,7 @@ OBJS    := $(addprefix $(obj),$(COBJS))
 SOBJS   := $(addprefix $(obj),$(SOBJS))
 
 $(LIB): $(obj).depend $(OBJS)
-	        $(call cmd_link_o_target, $(OBJS))
+		$(call cmd_link_o_target, $(OBJS))
 	@mkimage -T script -C none -n mvSMR_Script -d bootscript $(obj)bootscript.img
 
 #########################################################################
board/openrisc/openrisc-generic/or1ksim.cfg +61 -61

270 lines not on this page · raw message

board/ppmc8260/strataflash.c +1 -1
index 03d36ee..ea3c42e 100644
@@ -407,7 +407,7 @@ static int flash_full_status_check(flash_info_t * info, ulong sector, ulong tout
 			printf("Command Sequence Error.\n");
 		} else if(flash_isset(info, sector, 0, FLASH_STATUS_ECLBS)){
 			printf("Block Erase Error.\n");
-		        retcode = ERR_NOT_ERASED;
+			retcode = ERR_NOT_ERASED;
 		} else if (flash_isset(info, sector, 0, FLASH_STATUS_PSLBS)) {
 			printf("Locking Error\n");
 		}
board/pxa255_idp/pxa_reg_calcs.py +3 -3
index 786edc6..4a721d1 100644
@@ -21,7 +21,7 @@ class gpio:
 		self.clr = clr
 		self.alt = alt
 		self.desc = desc
-
+		
 
 # the following is a dictionary of all GPIOs in the system
 # the key is the GPIO number
@@ -280,8 +280,8 @@ for reg in registers:
 
 # print define to past right into U-Boot source code
 
-print
-print
+print 
+print 
 
 for reg in registers:
 	print '#define %s	0x%x' % (uboot_reg_names[reg], pxa_regs[reg])
board/rbc823/rbc823.c +1 -1
index f276e5e..5881111 100644
@@ -78,7 +78,7 @@ const uint static_table[] =
 	0x0FFFFC04, 0x0FF3FC04, 0x0FF3CC04, 0x0FF3CC04,
 	0x0FF3EC04, 0x0FF3CC00, 0x0FF7FC04, 0x3FFFFC04,
 	0xFFFFFC04, 0xFFFFFC05, /* last */
-	                        _NOT_USED_, _NOT_USED_,
+				_NOT_USED_, _NOT_USED_,
 	_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
 	_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
 	_NOT_USED_, _NOT_USED_, _NOT_USED_, _NOT_USED_,
board/samsung/dts/exynos5250-snow.dts +3 -3
index 9b7e57e..12cd67e 100644
@@ -71,9 +71,9 @@
 		codec-enable-gpio = <&gpio 0xb7 0>;
 	};
 
-        sound at 12d60000 {
-                status = "disabled";
-        };
+	sound at 12d60000 {
+		status = "disabled";
+	};
 
 	i2c at 12cd0000 {
 		soundcodec at 22 {
board/svm_sc8xx/svm_sc8xx.c +1 -1
index a508595..5db4850 100644
@@ -139,6 +139,6 @@ phys_size_t initdram (int board_type)
 #if defined(CONFIG_CMD_DOC)
 void doc_init (void)
 {
-	        doc_probe (CONFIG_SYS_DOC_BASE);
+		doc_probe (CONFIG_SYS_DOC_BASE);
 }
 #endif
boards.cfg +1 -1
index 24df88b..c90dddd 100644
@@ -196,7 +196,7 @@ Active  arm         arm926ejs      mb86r0x     syteco          jadecpu
 Active  arm         arm926ejs      mx25        freescale       mx25pdk             mx25pdk                              mx25pdk:IMX_CONFIG=board/freescale/mx25pdk/imximage.cfg                                                                           Fabio Estevam <[email protected]>
 Active  arm         arm926ejs      mx25        karo            tx25                tx25                                 -                                                                                                                                 John Rigby <[email protected]>
 Active  arm         arm926ejs      mx25        syteco          zmx25               zmx25                                -                                                                                                                                 Matthias Weisser <[email protected]>
-Active  arm         arm926ejs      mx27        armadeus        apf27               apf27                                -                                                                                                                                 Philippe Reynes <[email protected]>:Eric Jarrige <[email protected]>
+Active  arm         arm926ejs      mx27        armadeus        apf27               apf27                                -                                                                                                                                 Philippe Reynes <[email protected]>:Eric Jarrige <[email protected]> 
 Active  arm         arm926ejs      mx27        logicpd         imx27lite           imx27lite                            -                                                                                                                                 Wolfgang Denk <[email protected]>
 Active  arm         arm926ejs      mx27        logicpd         imx27lite           magnesium                            -                                                                                                                                 Heiko Schocher <[email protected]>
 Active  arm         arm926ejs      mxs         bluegiga        apx4devkit          apx4devkit                           apx4devkit                                                                                                                        Lauri Hintsala <[email protected]>
common/cmd_bmp.c +3 -3
index c093fef..cc904c2 100644
@@ -121,9 +121,9 @@ static int do_bmp_display(cmd_tbl_t * cmdtp, int flag, int argc, char * const ar
 		break;
 	case 4:
 		addr = simple_strtoul(argv[1], NULL, 16);
-	        x = simple_strtoul(argv[2], NULL, 10);
-	        y = simple_strtoul(argv[3], NULL, 10);
-	        break;
+		x = simple_strtoul(argv[2], NULL, 10);
+		y = simple_strtoul(argv[3], NULL, 10);
+		break;
 	default:
 		return CMD_RET_USAGE;
 	}
common/main.c +1 -1
index ae37fee..6f475f0 100644
@@ -365,7 +365,7 @@ static void process_boot_delay(void)
 #ifdef CONFIG_BOOTCOUNT_LIMIT
 	if (bootlimit && (bootcount > bootlimit)) {
 		printf ("Warning: Bootlimit (%u) exceeded. Using altbootcmd.\n",
-		        (unsigned)bootlimit);
+			(unsigned)bootlimit);
 		s = getenv ("altbootcmd");
 	}
 	else
config.mk +1 -1
index 48913f6..91a8f24 100644
@@ -320,7 +320,7 @@ endif
 
 # Linus' kernel sanity checking tool
 CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
-                  -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF)
+		  -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF)
 
 # Location of a usable BFD library, where we define "usable" as
 # "built for ${HOST}, supports ${TARGET}".  Sensible values are
doc/DocBook/Makefile +2 -2
index 521e8bc..29b79d7 100644
@@ -134,7 +134,7 @@ build_main_index = rm -rf $(main_idx); \
 quiet_cmd_db2html = HTML    $@
       cmd_db2html = xmlto html $(XMLTOFLAGS) -o $(patsubst %.html,%,$@) $< && \
 		echo '<a HREF="$(patsubst %.html,%,$(notdir $@))/index.html"> \
-        $(patsubst %.html,%,$(notdir $@))</a><p>' > $@
+	$(patsubst %.html,%,$(notdir $@))</a><p>' > $@
 
 %.html:	%.xml
 	@(which xmlto > /dev/null 2>&1) || \
@@ -143,7 +143,7 @@ quiet_cmd_db2html = HTML    $@
 	@rm -rf $@ $(patsubst %.html,%,$@)
 	$(call cmd_db2html)
 	@if [ ! -z "$(PNG-$(basename $(notdir $@)))" ]; then \
-            cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi
+	    cp $(PNG-$(basename $(notdir $@))) $(patsubst %.html,%,$@); fi
 
 quiet_cmd_db2man = MAN     $@
       cmd_db2man = if grep -q refentry $<; then xmlto man $(XMLTOFLAGS) -o $(obj)/man $< ; gzip -f $(obj)/man/*.9; fi
doc/README.ext4 +17 -17
index b7d0ad3..9a2de50 100644
@@ -28,30 +28,30 @@ Steps to test:
 
 1. After applying the patch, ext4 specific commands can be seen
    in the boot loader prompt using
-        UBOOT #help
+	UBOOT #help
 
-        ext4load- load binary file from a Ext4 file system
-        ext4ls  - list files in a directory (default /)
-        ext4write- create a file in ext4 formatted partition
+	ext4load- load binary file from a Ext4 file system
+	ext4ls  - list files in a directory (default /)
+	ext4write- create a file in ext4 formatted partition
 
 2. To list the files in ext4 formatted partition, execute
-        ext4ls <interface> <dev[:part]> [directory]
-        For example:
-        UBOOT #ext4ls mmc 0:5 /usr/lib
+	ext4ls <interface> <dev[:part]> [directory]
+	For example:
+	UBOOT #ext4ls mmc 0:5 /usr/lib
 
 3. To read and load a file from an ext4 formatted partition to RAM, execute
-        ext4load <interface> <dev[:part]> [addr] [filename] [bytes]
-        For example:
-        UBOOT #ext4load mmc 2:2 0x30007fc0 uImage
+	ext4load <interface> <dev[:part]> [addr] [filename] [bytes]
+	For example:
+	UBOOT #ext4load mmc 2:2 0x30007fc0 uImage
 
 4. To write a file to a ext4 formatted partition.
-        a) First load a file to RAM at a particular address for example 0x30007fc0.
-        Now execute ext4write command
-        ext4write <interface> <dev[:part]> [filename] [Address] [sizebytes]
-        For example:
-        UBOOT #ext4write mmc 2:2 /boot/uImage 0x30007fc0 6183120
-        (here 6183120 is the size of the file to be written)
-        Note: Absolute path is required for the file to be written
+	a) First load a file to RAM at a particular address for example 0x30007fc0.
+	Now execute ext4write command
+	ext4write <interface> <dev[:part]> [filename] [Address] [sizebytes]
+	For example:
+	UBOOT #ext4write mmc 2:2 /boot/uImage 0x30007fc0 6183120
+	(here 6183120 is the size of the file to be written)
+	Note: Absolute path is required for the file to be written
 
 References :
 	-- ext4 implementation in Linux Kernel
doc/README.kwbimage +3 -3
index e91c387..8ed708c 100644
@@ -40,9 +40,9 @@ Board specific configuration file specifications:
 ------------------------------------------------
 1. This file must present in the $(BOARDDIR).  The default name is
 	kwbimage.cfg.  The name can be set as part of the full path
-        to the file using CONFIG_SYS_KWD_CONFIG (probably in
-        include/configs/<yourboard>.h).   The path should look like:
-        $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.cfg
+	to the file using CONFIG_SYS_KWD_CONFIG (probably in
+	include/configs/<yourboard>.h).   The path should look like:
+	$(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.cfg
 2. This file can have empty lines and lines starting with "#" as first
 	character to put comments
 3. This file can have configuration command lines as mentioned below,
doc/README.mxc_hab +1 -1
index 97f8b7d..43e64a2 100644
@@ -20,7 +20,7 @@ Data Size:    327680 Bytes = 320.00 kB = 0.31 MB
 Load Address: 177ff420
 Entry Point:  17800000
 HAB Blocks:   177ff400 00000000 0004dc00
-              ^^^^^^^^ ^^^^^^^^ ^^^^^^^^
+	      ^^^^^^^^ ^^^^^^^^ ^^^^^^^^
 		|	|	   |
 		|	|	   -------- (1)
 		|	|
doc/README.mxsimage +12 -12
index 88a2caf..0d31cba 100644
@@ -10,7 +10,7 @@ The mxsimage tool is targeted to be a simple replacement for the elftosb2 .
 To generate an image, write an image configuration file and run:
 
  mkimage -A arm -O u-boot -T mxsimage -n <path to configuration file> \
-         <output bootstream file>
+	 <output bootstream file>
 
 The output bootstream file is usually using the .sb file extension. Note
 that the example configuration files for producing bootable BootStream with
@@ -54,33 +54,33 @@ These semantics and rules will be outlined now.
 
       LOAD     u32_address string_filename
       - Instructs the BootROM to load file pointed by "string_filename" onto
-        address "u32_address".
+	address "u32_address".
 
       LOAD IVT u32_address u32_IVT_entry_point
       - Crafts and loads IVT onto address "u32_address" with the entry point
-        of u32_IVT_entry_point.
+	of u32_IVT_entry_point.
       - i.MX28-specific instruction!
 
       LOAD DCD u32_address u32_DCD_block_ID
       - Loads the DCD block with ID "u32_DCD_block_ID" onto address
-        "u32_address" and executes the contents of this DCD block
+	"u32_address" and executes the contents of this DCD block
       - i.MX28-specific instruction!
 
       FILL u32_address u32_pattern u32_length
       - Starts to write memory from addres "u32_address" with a pattern
-        specified by "u32_pattern". Writes exactly "u32_length" bytes of the
+	specified by "u32_pattern". Writes exactly "u32_length" bytes of the
 	pattern.
 
       JUMP [HAB] u32_address [u32_r0_arg]
       - Jumps onto memory address specified by "u32_address" by setting this
-        address in PT. The BootROM will pass the "u32_r0_arg" value in ARM
+	address in PT. The BootROM will pass the "u32_r0_arg" value in ARM
 	register "r0" to the executed code if this option is specified.
 	Otherwise, ARM register "r0" will default to value 0x00000000. The
 	optional "HAB" flag is i.MX28-specific flag turning on the HAB boot.
 
       CALL [HAB] u32_address [u32_r0_arg]
       - See JUMP instruction above, as the operation is exactly the same with
-        one difference. The CALL instruction does allow returning into the
+	one difference. The CALL instruction does allow returning into the
 	BootROM from the executed code. U-Boot makes use of this in it's SPL
 	code.
 
@@ -88,10 +88,10 @@ These semantics and rules will be outlined now.
       - Restart the CPU and start booting from device specified by the
 	"string_mode" argument. The "string_mode" differs for each CPU
 	and can be:
-         i.MX23, string_mode = USB/I2C/SPI1_FLASH/SPI2_FLASH/NAND_BCH
-                               JTAG/SPI3_EEPROM/SD_SSP0/SD_SSP1
-         i.MX28, string_mode = USB/I2C/SPI2_FLASH/SPI3_FLASH/NAND_BCH
-                               JTAG/SPI2_EEPROM/SD_SSP0/SD_SSP1
+	 i.MX23, string_mode = USB/I2C/SPI1_FLASH/SPI2_FLASH/NAND_BCH
+			       JTAG/SPI3_EEPROM/SD_SSP0/SD_SSP1
+	 i.MX28, string_mode = USB/I2C/SPI2_FLASH/SPI3_FLASH/NAND_BCH
+			       JTAG/SPI2_EEPROM/SD_SSP0/SD_SSP1
 
   - An optional "DCD" blocks can be added at the begining of the configuration
     file. Note that the DCD is only supported on i.MX28.
@@ -99,7 +99,7 @@ These semantics and rules will be outlined now.
       configuration file.
     - The DCD block has the following semantics:
 
-        DCD u32_DCD_block_ID
+	DCD u32_DCD_block_ID
 	- u32_DCD_block_ID	:: The ID number of the DCD block, must match
 				   the ID number used by "LOAD DCD" instruction.
 
doc/README.nokia_rx51 +1 -1
index a8fdfcd..586ed7c 100644
@@ -62,7 +62,7 @@ Available additional commands/variables:
  * run trymmcscriptboot - Try to load and boot script ${mmcscriptfile}
  * run trymmckernboot - Try to load and boot kernel image ${mmckernfile}
  * run trymmckerninitrdboot - Try to load and boot kernel image ${mmckernfile}
-                              with initrd image ${mmcinitrdfile}
+			      with initrd image ${mmcinitrdfile}
 
 Additional variables for loading files from mmc:
 
doc/README.ramboot-ppc85xx +5 -5
index 8ed45fb..5cc546a 100644
@@ -23,11 +23,11 @@ methods could be handy.
    the board.And then execute the bootloader from DDR.
    Some usecases where this may be used:
       - While developing some new feature of u-boot, for example USB driver or
-        SPI driver.
-        Suppose the board already has a working bootloader on it. And you would
-        prefer to keep it intact, at the same time want to test your bootloader.
-        In this case you can get your test bootloader binary into DDR via tftp
-        for example. Then execute the test bootloader.
+	SPI driver.
+	Suppose the board already has a working bootloader on it. And you would
+	prefer to keep it intact, at the same time want to test your bootloader.
+	In this case you can get your test bootloader binary into DDR via tftp
+	for example. Then execute the test bootloader.
      - Suppose a platform already has a propreitery bootloader which does not
        support for example AMP boot. In this case also RAM boot loader can be
        utilized.
doc/README.trace +12 -12
index 8106290..f0c9699 100644
@@ -63,20 +63,20 @@ In:    serial
 Out:   serial
 Err:   serial
 =>trace stats
-        671,406 function sites
-         69,712 function calls
-              0 untracked function calls
-         73,373 traced function calls
-             16 maximum observed call depth
-             15 call depth limit
-         66,491 calls not traced due to depth
+	671,406 function sites
+	 69,712 function calls
+	      0 untracked function calls
+	 73,373 traced function calls
+	     16 maximum observed call depth
+	     15 call depth limit
+	 66,491 calls not traced due to depth
 =>trace stats
-        671,406 function sites
+	671,406 function sites
       1,279,450 function calls
-              0 untracked function calls
-        950,490 traced function calls (333217 dropped due to overflow)
-             16 maximum observed call depth
-             15 call depth limit
+	      0 untracked function calls
+	950,490 traced function calls (333217 dropped due to overflow)
+	     16 maximum observed call depth
+	     15 call depth limit
       1,275,767 calls not traced due to depth
 =>trace calls 0 e00000
 Call list dumped to 00000000, size 0xae0a40
doc/README.ubi +2 -2
index 3cf4ef2..007de44 100644
@@ -185,8 +185,8 @@ ubifsls [directory]
 For example:
 
 => ubifsls
-            17442  Thu Jan 01 02:57:38 1970  imx28-evk.dtb
-          2998146  Thu Jan 01 02:57:43 1970  zImage
+	    17442  Thu Jan 01 02:57:38 1970  imx28-evk.dtb
+	  2998146  Thu Jan 01 02:57:43 1970  zImage
 
 
 And the ubifsload command allows you to load a file from a UBI
doc/README.zfs +9 -9
index f5998f2..7f237c4 100644
@@ -7,20 +7,20 @@ Steps to test:
 
 1. After applying the patch, zfs specific commands can be seen
    in the boot loader prompt using
-        UBOOT #help
+	UBOOT #help
 
-        zfsload- load binary file from a ZFS file system
-        zfsls  - list files in a directory (default /)
+	zfsload- load binary file from a ZFS file system
+	zfsls  - list files in a directory (default /)
 
 2. To list the files in zfs pool, device or partition, execute
-        zfsls <interface> <dev[:part]> [POOL/@/dir/file]
-        For example:
-        UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/
+	zfsls <interface> <dev[:part]> [POOL/@/dir/file]
+	For example:
+	UBOOT #zfsls mmc 0:5 /rpool/@/usr/bin/
 
 3. To read and load a file from an ZFS formatted partition to RAM, execute
-        zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
-        For example:
-        UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage
+	zfsload <interface> <dev[:part]> [addr] [filename] [bytes]
+	For example:
+	UBOOT #zfsload mmc 2:2 0x30007fc0 /rpool/@/boot/uImage
 
 References :
 	-- ZFS GRUB sources from Solaris GRUB-0.97
doc/driver-model/UDM-cores.txt +12 -12
index 4e13188..6032333 100644
@@ -94,12 +94,12 @@ Pavel Herrmann <[email protected]>
     driver_activate(instance *inst);
       This call will recursively activate all devices necessary for using the
       specified device. the code could be simplified as:
-        {
-        if (is_activated(inst))
-          return;
-        driver_activate(inst->bus);
-        get_driver(inst)->probe(inst);
-        }
+	{
+	if (is_activated(inst))
+	  return;
+	driver_activate(inst->bus);
+	get_driver(inst)->probe(inst);
+	}
 
       The case with multiple parents will need to be handled here as well.
       get_driver is an accessor to available drivers, which will get struct
@@ -107,12 +107,12 @@ Pavel Herrmann <[email protected]>
 
     i2c_write(instance *inst, ...);
       An actual call to some method of the driver. This code will look like:
-        {
-        driver_activate(inst);
-        struct instance *core = get_core_instance(CORE_I2C);
-        device_ops = get_ops(inst);
-        device_ops->write(...);
-        }
+	{
+	driver_activate(inst);
+	struct instance *core = get_core_instance(CORE_I2C);
+	device_ops = get_ops(inst);
+	device_ops->write(...);
+	}
 
       get_ops will not be an exported function, it will be internal and specific
       to the core, as it needs to know how are the ops stored, and what type
doc/driver-model/UDM-design.txt +6 -6
index 185f477..9f03bba 100644
@@ -87,7 +87,7 @@ III) The drivers
   of the cores.
 
   FIXME: Should *cores[] be really struct driver, pointing to drivers that
-         represent the cores? Shouldn't it be core instance pointer?
+	 represent the cores? Shouldn't it be core instance pointer?
 
   2) Instantiation of a driver
   ----------------------------
@@ -101,7 +101,7 @@ III) The drivers
   functions.
 
   FIXME: We need some functions that will return list of busses of certain type
-         registered with the system so the user can find proper instance even if
+	 registered with the system so the user can find proper instance even if
 	 he has no bus pointer (this will come handy if the user isn't
 	 registering the driver from board init function, but somewhere else).
 
@@ -183,12 +183,12 @@ III) The drivers
   int driver_bind(struct instance *in)
   {
 	...
-        core_bind(&core_i2c_static_instance, in, i2c_bus_funcs);
-        ...
+	core_bind(&core_i2c_static_instance, in, i2c_bus_funcs);
+	...
   }
 
   FIXME: What if we need to run-time determine, depending on some hardware
-         register, what kind of i2c_bus_funcs to pass?
+	 register, what kind of i2c_bus_funcs to pass?
 
   This makes the i2c core aware of a new bus. The i2c_bus_funcs is a constant
   structure of functions any i2c bus driver must provide to work. This will
@@ -196,7 +196,7 @@ III) The drivers
   the pointer to the instance of a core this driver provides function to.
 
   FIXME: Maybe replace "core-i2c" with CORE_I2C global pointer to an instance of
-         the core?
+	 the core?
 
   4) The instantiation of a core driver
   -------------------------------------
doc/driver-model/UDM-gpio.txt +2 -2
index 8ff0a96..87554dd 100644
@@ -56,11 +56,11 @@ II) Approach
 
   struct gpio_driver_ops {
     int  (*gpio_request)(struct instance *i, unsigned gpio,
-                         const char *label);
+			 const char *label);
     int  (*gpio_free)(struct instance *i, unsigned gpio);
     int  (*gpio_direction_input)(struct instance *i, unsigned gpio);
     int  (*gpio_direction_output)(struct instance *i, unsigned gpio,
-                                  int value);
+				  int value);
     int  (*gpio_get_value)(struct instance *i, unsigned gpio);
     void (*gpio_set_value)(struct instance *i, unsigned gpio, int value);
   }
doc/driver-model/UDM-hwmon.txt +5 -5
index cc5d529..9048cc0 100644
@@ -36,15 +36,15 @@ II) Approach
   In the UDM each hwmon driver would register itself by a function
 
     int hwmon_device_register(struct instance *i,
-                              struct hwmon_device_ops *o);
+			      struct hwmon_device_ops *o);
 
   The structure being defined as follows:
 
     struct hwmon_device_ops {
-        int  (*read)(struct instance *i, int sensor, int reg);
-        int  (*write)(struct instance *i, int sensor, int reg,
-                      int val);
-        int  (*get_temp)(struct instance *i, int sensor);
+	int  (*read)(struct instance *i, int sensor, int reg);
+	int  (*write)(struct instance *i, int sensor, int reg,
+		      int val);
+	int  (*get_temp)(struct instance *i, int sensor);
     };
 
 
doc/driver-model/UDM-mmc.txt +3 -3
index bed4306..1f07d87 100644
@@ -107,7 +107,7 @@ struct mmc {
 
   /* DRIVER: Function used to submit command to the card */
   int (*send_cmd)(struct mmc *mmc,
-                  struct mmc_cmd *cmd, struct mmc_data *data);
+		  struct mmc_cmd *cmd, struct mmc_data *data);
 
   /* DRIVER: Function used to configure the host */
   void (*set_ios)(struct mmc *mmc);
@@ -139,7 +139,7 @@ provided by the MMC driver:
 struct mmc_driver_ops {
   /* Function used to submit command to the card */
   int  (*send_cmd)(struct mmc *mmc,
-                  struct mmc_cmd *cmd, struct mmc_data *data);
+		  struct mmc_cmd *cmd, struct mmc_data *data);
   /* DRIVER: Function used to configure the host */
   void (*set_ios)(struct mmc *mmc);
   /* Function used to initialize the host */
@@ -206,7 +206,7 @@ struct mmc_card_props {
 The probe() function will then register the MMC driver by calling:
 
   mmc_device_register(struct instance *i, struct mmc_driver_ops *o,
-                                          struct mmc_driver_params *p);
+					  struct mmc_driver_params *p);
 
 The struct mmc_driver_params will have to be dynamic in some cases, but the
 driver shouldn't modify it's contents elsewhere than in probe() call.
doc/driver-model/UDM-power.txt +6 -6
index 9ac1a5f..015c773 100644
@@ -57,20 +57,20 @@ III) Analysis of in-tree drivers
   All methods of this file are moved to another location.
     void ftpmu010_32768osc_enable(void): Move to boards hacks
     void ftpmu010_mfpsr_select_dev(unsigned int dev): Move to board file
-                                                      arch/nds32/lib/board.c
+						      arch/nds32/lib/board.c
     void ftpmu010_mfpsr_diselect_dev(unsigned int dev): Dead code
     void ftpmu010_dlldis_disable(void): Dead code
     void ftpmu010_sdram_clk_disable(unsigned int cr0): Move to board file
-                                                       arch/nds32/lib/board.c
+						       arch/nds32/lib/board.c
     void ftpmu010_sdramhtc_set(unsigned int val): Move to board file
-                                                  arch/nds32/lib/board.c
+						  arch/nds32/lib/board.c
 
   2) twl4030.c
   ------------
   All methods of this file are moved to another location.
     void twl4030_power_reset_init(void): Move to board hacks
     void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, u8 dev_grp,
-                                 u8 dev_grp_sel): Move to board hacks
+				 u8 dev_grp_sel): Move to board hacks
     void twl4030_power_init(void): Move to board hacks
     void twl4030_power_mmc_init(void): Move to board hacks
 
@@ -83,6 +83,6 @@ III) Analysis of in-tree drivers
     int twl6030_get_battery_voltage(void): Convert to new API
     void twl6030_init_battery_charging(void): Convert to new API
     void twl6030_power_mmc_init(): Move to board file
-                                   drivers/mmc/omap_hsmmc.c
+				   drivers/mmc/omap_hsmmc.c
     void twl6030_usb_device_settings(): Move to board file
-                                        drivers/usb/musb/omap3.c
+					drivers/usb/musb/omap3.c
doc/driver-model/UDM-rtc.txt +13 -13
index 6aaeb86..8391f38 100644
@@ -12,15 +12,15 @@ U-Boot currently implements one common API for RTC devices. The interface
 is defined in include/rtc.h and comprises of functions and structures:
 
     struct rtc_time {
-        int tm_sec;
-        int tm_min;
-        int tm_hour;
-        int tm_mday;
-        int tm_mon;
-        int tm_year;
-        int tm_wday;
-        int tm_yday;
-        int tm_isdst;
+	int tm_sec;
+	int tm_min;
+	int tm_hour;
+	int tm_mday;
+	int tm_mon;
+	int tm_year;
+	int tm_wday;
+	int tm_yday;
+	int tm_isdst;
     };
 
     int rtc_get (struct rtc_time *);
@@ -42,14 +42,14 @@ II) Approach
   In the UDM each rtc driver would register itself by a function
 
     int rtc_device_register(struct instance *i,
-                            struct rtc_device_ops *o);
+			    struct rtc_device_ops *o);
 
   The structure being defined as follows:
 
     struct rtc_device_ops {
-        int  (*get_time)(struct instance *i, struct rtc_time *t);
-        int  (*set_time)(struct instance *i, struct rtc_time *t);
-        int  (*reset)(struct instance *i);
+	int  (*get_time)(struct instance *i, struct rtc_time *t);
+	int  (*set_time)(struct instance *i, struct rtc_time *t);
+	int  (*reset)(struct instance *i);
     };
 
 
doc/driver-model/UDM-spi.txt +6 -6
index 7442a32..6e6acc8 100644
@@ -15,12 +15,12 @@ I) Overview
 
   void spi_init(void);
   struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
-                                    unsigned int max_hz, unsigned int mode);
+				    unsigned int max_hz, unsigned int mode);
   void spi_free_slave(struct spi_slave *slave);
   int  spi_claim_bus(struct spi_slave *slave);
   void spi_release_bus(struct spi_slave *slave);
   int  spi_xfer(struct spi_slave *slave, unsigned int bitlen,
-                const void *dout, void *din, unsigned long flags);
+		const void *dout, void *din, unsigned long flags);
   int  spi_cs_is_valid(unsigned int bus, unsigned int cs);
   void spi_cs_activate(struct spi_slave *slave);
   void spi_cs_deactivate(struct spi_slave *slave);
@@ -69,13 +69,13 @@ II) Approach
 
   struct ops {
     int  (*spi_request_bus)(struct instance *i, unsigned int bus,
-                            unsigned int cs, unsigned int max_hz,
-                            unsigned int mode);
+			    unsigned int cs, unsigned int max_hz,
+			    unsigned int mode);
     void (*spi_release_bus)(struct instance *i);
     int  (*spi_xfer) (struct instance *i, unsigned int bitlen,
-                      const void *dout, void *din, unsigned long flags);
+		      const void *dout, void *din, unsigned long flags);
     int  (*spi_cs_is_valid)(struct instance *i, unsigned int bus,
-                            unsigned int cs);
+			    unsigned int cs);
     void (*spi_cs_activate)(struct instance *i);
     void (*spi_cs_deactivate)(struct instance *i);
     void (*spi_set_speed)(struct instance *i, uint hz);
doc/driver-model/UDM-stdio.txt +14 -14
index a6c484f..c0b1c90 100644
@@ -17,29 +17,29 @@ Each device that wants to register with STDIO subsystem has to define struct
 stdio_dev, defined in include/stdio_dev.h and containing the following fields:
 
 struct stdio_dev {
-        int     flags;                  /* Device flags: input/output/system */
-        int     ext;                    /* Supported extensions              */
-        char    name[16];               /* Device name                       */
+	int     flags;                  /* Device flags: input/output/system */
+	int     ext;                    /* Supported extensions              */
+	char    name[16];               /* Device name                       */
 
 /* GENERAL functions */
 
-        int (*start) (void);            /* To start the device               */
-        int (*stop) (void);             /* To stop the device                */
+	int (*start) (void);            /* To start the device               */
+	int (*stop) (void);             /* To stop the device                */
 
 /* OUTPUT functions */
 
-        void (*putc) (const char c);    /* To put a char                     */
-        void (*puts) (const char *s);   /* To put a string (accelerator)     */
+	void (*putc) (const char c);    /* To put a char                     */
+	void (*puts) (const char *s);   /* To put a string (accelerator)     */
 
 /* INPUT functions */
 
-        int (*tstc) (void);             /* To test if a char is ready...     */
-        int (*getc) (void);             /* To get that char                  */
+	int (*tstc) (void);             /* To test if a char is ready...     */
+	int (*getc) (void);             /* To get that char                  */
 
 /* Other functions */
 
-        void *priv;                     /* Private extensions                */
-        struct list_head list;
+	void *priv;                     /* Private extensions                */
+	struct list_head list;
 };
 
 Currently used flags are DEV_FLAGS_INPUT, DEV_FLAGS_OUTPUT and DEV_FLAGS_SYSTEM,
@@ -139,13 +139,13 @@ II) Approach
   purpose. The following flags will be defined:
 
     STDIO_FLG_STDIN ..... This device will be used as an input device. All input
-                          from all devices with this flag set will be received
+			  from all devices with this flag set will be received
 			  and passed to the upper layers.
     STDIO_FLG_STDOUT .... This device will be used as an output device. All
-                          output sent to stdout will be routed to all devices
+			  output sent to stdout will be routed to all devices
 			  with this flag set.
     STDIO_FLG_STDERR .... This device will be used as an standard error output
-                          device. All output sent to stderr will be routed to
+			  device. All output sent to stderr will be routed to
 			  all devices with this flag set.
 
   The "list" member of this structure allows to have a linked list of all
doc/driver-model/UDM-tpm.txt +1 -1
index 91a953a..0beff4a 100644
@@ -14,7 +14,7 @@ controlling it is very much based on this. The API is very simple:
   int tis_open(void);
   int tis_close(void);
   int tis_sendrecv(const u8 *sendbuf, size_t send_size,
-                         u8 *recvbuf, size_t *recv_len);
+			 u8 *recvbuf, size_t *recv_len);
 
 The command operating the TPM chip only provides operations to send and receive
 bytes from the chip.
doc/driver-model/UDM-watchdog.txt +3 -3
index 7db3286..7948e59 100644
@@ -41,13 +41,13 @@ II) Approach
   In the UDM each watchdog driver would register itself by a function
 
     int watchdog_device_register(struct instance *i,
-                                 const struct watchdog_device_ops *o);
+				 const struct watchdog_device_ops *o);
 
   The structure being defined as follows:
 
     struct watchdog_device_ops {
-        int (*disable)(struct instance *i);
-        void (*reset)(struct instance *i);
+	int (*disable)(struct instance *i);
+	void (*reset)(struct instance *i);
     };
 
   The watchdog_init() function will be dissolved into probe() function.
drivers/mtd/nand/fsl_elbc_spl.c +10 -10
index a7476b4..2952135 100644
@@ -59,20 +59,20 @@ static int nand_load_image(uint32_t offs, unsigned int uboot_size, void *vdst)
 	if (large) {
 		fmr |= FMR_ECCM;
 		out_be32(&regs->fcr, (NAND_CMD_READ0 << FCR_CMD0_SHIFT) |
-		                     (NAND_CMD_READSTART << FCR_CMD1_SHIFT));
+				     (NAND_CMD_READSTART << FCR_CMD1_SHIFT));
 		out_be32(&regs->fir,
-		         (FIR_OP_CW0 << FIR_OP0_SHIFT) |
-		         (FIR_OP_CA  << FIR_OP1_SHIFT) |
-		         (FIR_OP_PA  << FIR_OP2_SHIFT) |
-		         (FIR_OP_CW1 << FIR_OP3_SHIFT) |
-		         (FIR_OP_RBW << FIR_OP4_SHIFT));
+			 (FIR_OP_CW0 << FIR_OP0_SHIFT) |
+			 (FIR_OP_CA  << FIR_OP1_SHIFT) |
+			 (FIR_OP_PA  << FIR_OP2_SHIFT) |
+			 (FIR_OP_CW1 << FIR_OP3_SHIFT) |
+			 (FIR_OP_RBW << FIR_OP4_SHIFT));
 	} else {
 		out_be32(&regs->fcr, NAND_CMD_READ0 << FCR_CMD0_SHIFT);
 		out_be32(&regs->fir,
-		         (FIR_OP_CW0 << FIR_OP0_SHIFT) |
-		         (FIR_OP_CA  << FIR_OP1_SHIFT) |
-		         (FIR_OP_PA  << FIR_OP2_SHIFT) |
-		         (FIR_OP_RBW << FIR_OP3_SHIFT));
+			 (FIR_OP_CW0 << FIR_OP0_SHIFT) |
+			 (FIR_OP_CA  << FIR_OP1_SHIFT) |
+			 (FIR_OP_PA  << FIR_OP2_SHIFT) |
+			 (FIR_OP_RBW << FIR_OP3_SHIFT));
 	}
 
 	out_be32(&regs->fbcr, 0);
drivers/mtd/nand/fsl_upm.c +4 -4
index a0fe1e0..3ae0044 100644
@@ -112,10 +112,10 @@ static void fun_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl)
 	fsl_upm_run_pattern(&fun->upm, fun->width, io_addr, mar);
 
 	/*
-         * Some boards/chips needs this.  At least the MPC8360E-RDK
-         * needs it.  Probably weird chip, because I don't see any
-         * need for this on MPC8555E + Samsung K9F1G08U0A.  Usually
-         * here are 0-2 unexpected busy states per block read.
+	 * Some boards/chips needs this.  At least the MPC8360E-RDK
+	 * needs it.  Probably weird chip, because I don't see any
+	 * need for this on MPC8555E + Samsung K9F1G08U0A.  Usually
+	 * here are 0-2 unexpected busy states per block read.
 	 */
 	if (fun->wait_flags & FSL_UPM_WAIT_RUN_PATTERN)
 		fun_wait(fun);
drivers/mtd/nand/nand_base.c +1 -1
index 9e05cef..3e3959f 100644
@@ -3272,7 +3272,7 @@ int nand_scan_tail(struct mtd_info *mtd)
 
 	case NAND_ECC_NONE:
 		pr_warn("NAND_ECC_NONE selected by board driver. "
-		        "This is not recommended !!\n");
+			"This is not recommended !!\n");
 		chip->ecc.read_page = nand_read_page_raw;
 		chip->ecc.write_page = nand_write_page_raw;
 		chip->ecc.read_oob = nand_read_oob_std;
drivers/mtd/nand/nand_util.c +2 -2
index d149a6d..5246bbf 100644
@@ -142,8 +142,8 @@ int nand_erase_opts(nand_info_t *meminfo, const nand_erase_options_t *opts)
 			ops.mode = MTD_OPS_AUTO_OOB;
 
 			result = mtd_write_oob(meminfo,
-			                            erase.addr,
-			                            &ops);
+						    erase.addr,
+						    &ops);
 			if (result != 0) {
 				printf("\n%s: MTD writeoob failure: %d\n",
 				       mtd_device, result);
drivers/mtd/ubi/crc32.c +2 -2
index ab439b3..f1bebf5 100644
@@ -102,7 +102,7 @@ u32 crc32_le(u32 crc, unsigned char const *p, size_t len)
 	if((len >= 4)){
 		/* load data 32 bits wide, xor data 32 bits wide. */
 		size_t save_len = len & 3;
-	        len = len >> 2;
+		len = len >> 2;
 		--b; /* use pre increment below(*++b) for speed */
 		do {
 			crc ^= *++b;
@@ -200,7 +200,7 @@ u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len)
 	if(likely(len >= 4)){
 		/* load data 32 bits wide, xor data 32 bits wide. */
 		size_t save_len = len & 3;
-	        len = len >> 2;
+		len = len >> 2;
 		--b; /* use pre increment below(*++b) for speed */
 		do {
 			crc ^= *++b;
drivers/net/dm9000x.c +1 -1
index ffb8ea0..f7170e0 100644
@@ -17,7 +17,7 @@ V0.11	06/20/2001	REG_0A bit3=1, default enable BP with DA match
 		R17 = (R17 & 0xfff0) | NF
 
 v1.00			modify by simon 2001.9.5
-	                change for kernel 2.4.x
+			change for kernel 2.4.x
 
 v1.1   11/09/2001	fix force mode bug
 
drivers/net/plb2800_eth.c +1 -1
index 308bf8f..f869514 100644
@@ -260,7 +260,7 @@ static int plb2800_eth_recv(struct eth_device *dev)
 			printf("Received %d bytes\n", length);
 #endif
 			NetReceive((void*)(NetRxPackets[rx_new]),
-			            length - 4);
+				    length - 4);
 		}
 		else
 		{
drivers/rtc/bfin_rtc.c +1 -1
index 5de6953..21a2189 100644
@@ -68,7 +68,7 @@ int rtc_set(struct rtc_time *tmp)
 
 	/* Calculate number of seconds this incoming time represents */
 	remain = mktime(tmp->tm_year, tmp->tm_mon, tmp->tm_mday,
-	                tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
+			tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
 
 	/* Figure out how many days since epoch */
 	days = remain / NUM_SECS_IN_DAY;
drivers/rtc/pl031.c +1 -1
index 11cc719..c4d1259 100644
@@ -73,7 +73,7 @@ int rtc_set(struct rtc_time *tmp)
 
 	/* Calculate number of seconds this incoming time represents */
 	tim = mktime(tmp->tm_year, tmp->tm_mon, tmp->tm_mday,
-	                tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
+			tmp->tm_hour, tmp->tm_min, tmp->tm_sec);
 
 	RTC_WRITE_REG(RTC_LR, tim);
 
drivers/spi/mpc8xxx_spi.c +2 -2
index 348361a..0d59c36 100644
@@ -110,10 +110,10 @@ int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
 		if (bitlen <= 16) {
 			if (bitlen <= 4)
 				spi->mode = (spi->mode & 0xff0fffff) |
-				            (3 << 20);
+					    (3 << 20);
 			else
 				spi->mode = (spi->mode & 0xff0fffff) |
-				            ((bitlen - 1) << 20);
+					    ((bitlen - 1) << 20);
 		} else {
 			spi->mode = (spi->mode & 0xff0fffff);
 			/* Set up the next iteration if sending > 32 bits */
drivers/spi/omap3_spi.c +5 -5
index 3b38c34..e80be8e 100644
@@ -50,7 +50,7 @@ static void omap3_spi_write_chconf(struct omap3_spi_slave *ds, int val)
 static void omap3_spi_set_enable(struct omap3_spi_slave *ds, int enable)
 {
 	writel(enable, &ds->regs->channel[ds->slave.cs].chctrl);
-        /* Flash post writes to make immediate effect */
+	/* Flash post writes to make immediate effect */
 	readl(&ds->regs->channel[ds->slave.cs].chctrl);
 }
 
@@ -253,9 +253,9 @@ int omap3_spi_write(struct spi_slave *slave, unsigned int len, const u8 *txp,
 		writel(txp[i], &ds->regs->channel[ds->slave.cs].tx);
 	}
 
-        /* wait to finish of transfer */
-        while (!(readl(&ds->regs->channel[ds->slave.cs].chstat) &
-                         OMAP3_MCSPI_CHSTAT_EOT));
+	/* wait to finish of transfer */
+	while (!(readl(&ds->regs->channel[ds->slave.cs].chstat) &
+			 OMAP3_MCSPI_CHSTAT_EOT));
 
 	/* Disable the channel otherwise the next immediate RX will get affected */
 	omap3_spi_set_enable(ds,OMAP3_MCSPI_CHCTRL_DIS);
@@ -359,7 +359,7 @@ int omap3_spi_txrx(struct spi_slave *slave,
 		rxp[i] = readl(&ds->regs->channel[ds->slave.cs].rx);
 	}
 	/* Disable the channel */
-        omap3_spi_set_enable(ds,OMAP3_MCSPI_CHCTRL_DIS);
+	omap3_spi_set_enable(ds,OMAP3_MCSPI_CHCTRL_DIS);
 
 	/*if transfer must be terminated disable the channel*/
 	if (flags & SPI_XFER_END) {
drivers/video/ati_radeon_fb.h +1 -1
index 0659045..9dd638b 100644
@@ -92,7 +92,7 @@ static inline void radeon_engine_flush (struct radeonfb_info *rinfo)
 
 	/* initiate flush */
 	OUTREGP(RB2D_DSTCACHE_CTLSTAT, RB2D_DC_FLUSH_ALL,
-	        ~RB2D_DC_FLUSH_ALL);
+		~RB2D_DC_FLUSH_ALL);
 
 	for (i=0; i < 2000000; i++) {
 		if (!(INREG(RB2D_DSTCACHE_CTLSTAT) & RB2D_DC_BUSY))
fs/ubifs/super.c +1 -1
index 9acf243..67f115f 100644
@@ -771,7 +771,7 @@ static int mount_ubifs(struct ubifs_info *c)
 	dbg_msg("node sizes:          ref %zu, cmt. start %zu, orph %zu",
 		UBIFS_REF_NODE_SZ, UBIFS_CS_NODE_SZ, UBIFS_ORPH_NODE_SZ);
 	dbg_msg("max. node sizes:     data %zu, inode %zu dentry %zu",
-	        UBIFS_MAX_DATA_NODE_SZ, UBIFS_MAX_INO_NODE_SZ,
+		UBIFS_MAX_DATA_NODE_SZ, UBIFS_MAX_INO_NODE_SZ,
 		UBIFS_MAX_DENT_NODE_SZ);
 	dbg_msg("dead watermark:      %d", c->dead_wm);
 	dbg_msg("dark watermark:      %d", c->dark_wm);
include/configs/DU440.h +1 -1
index 0827113..5ffa6e4 100644
@@ -223,7 +223,7 @@
 	"flash_self=run ramargs addip addtty optargs;"			\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${img};run nfsargs addip addtty optargs;"	\
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/tftpboot/du440/target_root_du440\0"			\
 	"img=/tftpboot/du440/uImage\0"					\
 	"kernel_addr=FFC00000\0"					\
include/configs/P3G4.h +1 -1
index 6328ba9..354e9d2 100644
@@ -85,7 +85,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/opt/eldk/ppc_74xx\0"					\
 	"bootfile=/tftpboot/p3g4/uImage\0"				\
 	"kernel_addr=ff000000\0"					\
include/configs/RBC823.h +3 -3
index 3970dc3..7b10d28 100644
@@ -262,8 +262,8 @@
  */
 #define SCCR_MASK	SCCR_EBDF11
 #define CONFIG_SYS_SCCR	(SCCR_RTDIV   | SCCR_RTSEL    | SCCR_CRQEN    | \
-		         SCCR_PRQEN   | SCCR_EBDF00   | \
-		         SCCR_COM01   | SCCR_DFSYNC00 | SCCR_DFBRG00  | \
+			 SCCR_PRQEN   | SCCR_EBDF00   | \
+			 SCCR_COM01   | SCCR_DFSYNC00 | SCCR_DFBRG00  | \
 			 SCCR_DFNL000 | SCCR_DFNH000  | SCCR_DFLCD001 | \
 			 SCCR_DFALCD00)
 
@@ -344,7 +344,7 @@
 
 #define CONFIG_SYS_OR1_PRELIM	(CONFIG_SYS_PRELIM_OR_AM | CONFIG_SYS_OR_TIMING_MSYS)
 #define CONFIG_SYS_BR1_PRELIM	((FLASH_BASE1_PRELIM & BR_BA_MSK) | BR_MS_UPMB | \
-		          BR_PS_8 | BR_V)
+			  BR_PS_8 | BR_V)
 
 /*
  * BR4 and OR4 (SDRAM)
include/configs/alpr.h +1 -1
index 86b874c..f0a8962 100644
@@ -148,7 +148,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"net_nfs_fdt=tftp 200000 ${bootfile};"				\
 		"tftp ${fdt_addr} ${fdt_file};"				\
 		"run nfsargs addip addtty;"				\
include/configs/devkit8000.h +2 -2
index baa2635..c1e996e 100644
@@ -278,8 +278,8 @@
 #define CONFIG_SYS_INIT_RAM_ADDR        0x4020f800
 #define CONFIG_SYS_INIT_RAM_SIZE        0x800
 #define CONFIG_SYS_INIT_SP_ADDR         (CONFIG_SYS_INIT_RAM_ADDR + \
-		                                         CONFIG_SYS_INIT_RAM_SIZE - \
-		                                         GENERATED_GBL_DATA_SIZE)
+							 CONFIG_SYS_INIT_RAM_SIZE - \
+							 GENERATED_GBL_DATA_SIZE)
 
 /* SRAM config */
 #define CONFIG_SYS_SRAM_START              0x40200000
include/configs/p3mx.h +1 -1
index d94e9c6..8157f47 100644
@@ -194,7 +194,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/opt/eldk/ppc_6xx\0"					\
 	"u-boot=p3mx/u-boot/u-boot.bin\0"				\
 	"load=tftp 100000 ${u-boot}\0"					\
include/configs/p3p440.h +1 -1
index 5e5adbc..f6cb813 100644
@@ -129,7 +129,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/opt/eldk/ppc_4xx\0"					\
 	"bootfile=/tftpboot/p3p440/uImage\0"				\
 	"kernel_addr=ff800000\0"					\
include/configs/pcs440ep.h +1 -1
index e397615..7cf22ba 100644
@@ -157,7 +157,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/opt/eldk/ppc_4xx\0"					\
 	"bootfile=/tftpboot/pcs440ep/uImage\0"				\
 	"kernel_addr=FFF00000\0"					\
include/configs/pdnb3.h +2 -2
index c664010..d3e9017 100644
@@ -131,7 +131,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/opt/buildroot\0"					\
 	"bootfile=/tftpboot/netbox/uImage\0"				\
 	"kernel_addr=50080000\0"					\
@@ -280,7 +280,7 @@
 #define I2C_TRISTATE	GPIO_OUTPUT_DISABLE(CONFIG_SYS_GPIO_I2C_SDA)
 #define I2C_READ	((*IXP425_GPIO_GPINR & PB_SDA) != 0)
 #define I2C_SDA(bit)	if (bit) GPIO_OUTPUT_SET(CONFIG_SYS_GPIO_I2C_SDA);	\
-	                else     GPIO_OUTPUT_CLEAR(CONFIG_SYS_GPIO_I2C_SDA)
+			else     GPIO_OUTPUT_CLEAR(CONFIG_SYS_GPIO_I2C_SDA)
 #define I2C_SCL(bit)	if (bit) GPIO_OUTPUT_SET(CONFIG_SYS_GPIO_I2C_SCL);	\
 			else     GPIO_OUTPUT_CLEAR(CONFIG_SYS_GPIO_I2C_SCL)
 #define I2C_DELAY	udelay(3)	/* 1/4 I2C clock duration */
include/configs/uc100.h +1 -1
index 8bf7353..faae7ff 100644
@@ -65,7 +65,7 @@
 	"flash_self=run ramargs addip addtty;"				\
 		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
 	"net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;"     \
-	        "bootm\0"						\
+		"bootm\0"						\
 	"rootpath=/opt/eldk/ppc_8xx\0"					\
 	"bootfile=/tftpboot/uc100/uImage\0"				\
 	"kernel_addr=40000000\0"					\
include/configs/zeus.h +2 -2
index 8d0db5c..237fcb1 100644
@@ -322,7 +322,7 @@
 		" ramdisk_size=${ramdisk_size}\0"			\
 	"addip=setenv bootargs ${bootargs} "				\
 		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\
-	        ":${hostname}:${netdev}:off panic=1\0"			\
+		":${hostname}:${netdev}:off panic=1\0"			\
 	"addtty=setenv bootargs ${bootargs} console=ttyS0,"		\
 		"${baudrate}\0"						\
 	"net_nfs=tftp ${kernel_mem_addr} ${file_kernel};"		\
@@ -352,7 +352,7 @@
 	"file_fs=/zeus/rootfs_ba.img\0"					\
 	"tftp_fs=tftp 100000 ${file_fs}\0"				\
 	"update_fs=protect off ff300000 ff87ffff;era ff300000 ff87ffff;"\
-	        "cp.b 100000 ff300000 580000\0"				\
+		"cp.b 100000 ff300000 580000\0"				\
 	"upd_fs=run tftp_fs;run update_fs\0"				\
 	"bootcmd=chkreset;run ramargs addip addtty addmisc;"		\
 		"bootm ${kernel_fl_addr} ${ramdisk_fl_addr}\0"		\
include/ddr_spd.h +17 -17
index 9e74d87..f5809e5 100644
@@ -39,7 +39,7 @@ typedef struct ddr1_spd_eeprom_s {
 	unsigned char dev_attr;    /* 22 SDRAM Device Attributes */
 	unsigned char clk_cycle2;  /* 23 Min SDRAM Cycle time @ CL=X-0.5 */
 	unsigned char clk_access2; /* 24 SDRAM Access from
-				         Clk @ CL=X-0.5 (tAC) */
+					 Clk @ CL=X-0.5 (tAC) */
 	unsigned char clk_cycle3;  /* 25 Min SDRAM Cycle time @ CL=X-1 */
 	unsigned char clk_access3; /* 26 Max Access from Clk @ CL=X-1 (tAC) */
 	unsigned char trp;         /* 27 Min Row Precharge Time (tRP)*/
@@ -112,9 +112,9 @@ typedef struct ddr2_spd_eeprom_s {
 	unsigned char ca_setup;    /* 32 Addr+Cmd Setup Time Before Clk (tIS) */
 	unsigned char ca_hold;     /* 33 Addr+Cmd Hold Time After Clk (tIH) */
 	unsigned char data_setup;  /* 34 Data Input Setup Time
-				         Before Strobe (tDS) */
+					 Before Strobe (tDS) */
 	unsigned char data_hold;   /* 35 Data Input Hold Time
-				         After Strobe (tDH) */
+					 After Strobe (tDH) */
 	unsigned char twr;         /* 36 Write Recovery time tWR */
 	unsigned char twtr;        /* 37 Int write to read delay tWTR */
 	unsigned char trtp;        /* 38 Int read to precharge delay tRTP */
@@ -128,40 +128,40 @@ typedef struct ddr2_spd_eeprom_s {
 	unsigned char pll_relock;  /* 46 PLL Relock time */
 	unsigned char Tcasemax;    /* 47 Tcasemax */
 	unsigned char psiTAdram;   /* 48 Thermal Resistance of DRAM Package from
-				         Top (Case) to Ambient (Psi T-A DRAM) */
+					 Top (Case) to Ambient (Psi T-A DRAM) */
 	unsigned char dt0_mode;    /* 49 DRAM Case Temperature Rise from Ambient
-				         due to Activate-Precharge/Mode Bits
+					 due to Activate-Precharge/Mode Bits
 					 (DT0/Mode Bits) */
 	unsigned char dt2n_dt2q;   /* 50 DRAM Case Temperature Rise from Ambient
-				         due to Precharge/Quiet Standby
+					 due to Precharge/Quiet Standby
 					 (DT2N/DT2Q) */
 	unsigned char dt2p;        /* 51 DRAM Case Temperature Rise from Ambient
-				         due to Precharge Power-Down (DT2P) */
+					 due to Precharge Power-Down (DT2P) */
 	unsigned char dt3n;        /* 52 DRAM Case Temperature Rise from Ambient
-				         due to Active Standby (DT3N) */
+					 due to Active Standby (DT3N) */
 	unsigned char dt3pfast;    /* 53 DRAM Case Temperature Rise from Ambient
-				         due to Active Power-Down with
+					 due to Active Power-Down with
 					 Fast PDN Exit (DT3Pfast) */
 	unsigned char dt3pslow;    /* 54 DRAM Case Temperature Rise from Ambient
-				         due to Active Power-Down with Slow
+					 due to Active Power-Down with Slow
 					 PDN Exit (DT3Pslow) */
 	unsigned char dt4r_dt4r4w; /* 55 DRAM Case Temperature Rise from Ambient
-				         due to Page Open Burst Read/DT4R4W
+					 due to Page Open Burst Read/DT4R4W
 					 Mode Bit (DT4R/DT4R4W Mode Bit) */
 	unsigned char dt5b;        /* 56 DRAM Case Temperature Rise from Ambient
-				         due to Burst Refresh (DT5B) */
+					 due to Burst Refresh (DT5B) */
 	unsigned char dt7;         /* 57 DRAM Case Temperature Rise from Ambient
-				         due to Bank Interleave Reads with
+					 due to Bank Interleave Reads with
 					 Auto-Precharge (DT7) */
 	unsigned char psiTApll;    /* 58 Thermal Resistance of PLL Package form
-				         Top (Case) to Ambient (Psi T-A PLL) */
+					 Top (Case) to Ambient (Psi T-A PLL) */
 	unsigned char psiTAreg;    /* 59 Thermal Reisitance of Register Package
-				         from Top (Case) to Ambient
+					 from Top (Case) to Ambient
 					 (Psi T-A Register) */
 	unsigned char dtpllactive; /* 60 PLL Case Temperature Rise from Ambient
-				         due to PLL Active (DT PLL Active) */
+					 due to PLL Active (DT PLL Active) */
 	unsigned char dtregact;    /* 61 Register Case Temperature Rise from
-				         Ambient due to Register Active/Mode Bit
+					 Ambient due to Register Active/Mode Bit
 					 (DT Register Active/Mode Bit) */
 	unsigned char spd_rev;     /* 62 SPD Data Revision Code */
 	unsigned char cksum;       /* 63 Checksum for bytes 0-62 */
nand_spl/nand_boot_fsl_elbc.c +1 -1
index 03e25f3..1afa1a2 100644
@@ -126,7 +126,7 @@ void nand_boot(void)
 	 * Load U-Boot image from NAND into RAM
 	 */
 	nand_load(CONFIG_SYS_NAND_U_BOOT_OFFS, CONFIG_SYS_NAND_U_BOOT_SIZE,
-	          (uchar *)CONFIG_SYS_NAND_U_BOOT_DST);
+		  (uchar *)CONFIG_SYS_NAND_U_BOOT_DST);
 
 	/*
 	 * Jump to U-Boot image
post/lib_powerpc/andi.c +1 -1
index 878b2ca..8a4b89b 100644
@@ -89,7 +89,7 @@ int cpu_post_test_andi (void)
 
 	    if (ret != 0)
 	    {
-	        post_log ("Error at andi test %d !\n", i);
+		post_log ("Error at andi test %d !\n", i);
 	    }
 	}
     }
post/lib_powerpc/cpu_asm.h +16 -16
index 66adad8..b5c5889 100644
@@ -112,64 +112,64 @@
 
 #define ASM_0(opcode)			(opcode)
 #define ASM_1(opcode, rd)		((opcode) +		\
-	                                 ((rd) << 21))
+					 ((rd) << 21))
 #define ASM_1C(opcode, cr)		((opcode) +		\
-	                                 ((cr) << 23))
+					 ((cr) << 23))
 #define ASM_11(opcode, rd, rs)		((opcode) +		\
-	                                 ((rd) << 21) +		\
+					 ((rd) << 21) +		\
 					 ((rs) << 16))
 #define ASM_11C(opcode, cd, cs)		((opcode) +		\
-	                                 ((cd) << 23) +		\
+					 ((cd) << 23) +		\
 					 ((cs) << 18))
 #define ASM_11X(opcode, rd, rs)		((opcode) +		\
-	                                 ((rs) << 21) +		\
+					 ((rs) << 21) +		\
 					 ((rd) << 16))
 #define ASM_11I(opcode, rd, rs, simm)	((opcode) +		\
-	                                 ((rd) << 21) +		\
+					 ((rd) << 21) +		\
 					 ((rs) << 16) +		\
 					 ((simm) & 0xffff))
 #define ASM_11IF(opcode, rd, rs, simm)	((opcode) +		\
-	                                 ((rd) << 21) +		\
+					 ((rd) << 21) +		\
 					 ((rs) << 16) +		\
 					 ((simm) << 11))
 #define ASM_11S(opcode, rd, rs, sh)	((opcode) +		\
-	                                 ((rs) << 21) +		\
+					 ((rs) << 21) +		\
 					 ((rd) << 16) +		\
 					 ((sh) << 11))
 #define ASM_11IX(opcode, rd, rs, imm)	((opcode) +		\
-	                                 ((rs) << 21) +		\
+					 ((rs) << 21) +		\
 					 ((rd) << 16) +		\
 					 ((imm) & 0xffff))
 #define ASM_12(opcode, rd, rs1, rs2)	((opcode) +		\
-	                                 ((rd) << 21) +		\
+					 ((rd) << 21) +		\
 					 ((rs1) << 16) +	\
 					 ((rs2) << 11))
 #define ASM_12F(opcode, fd, fs1, fs2)	((opcode) +		\
-	                                 ((fd) << 21) +		\
+					 ((fd) << 21) +		\
 					 ((fs1) << 16) +	\
 					 ((fs2) << 11))
 #define ASM_12X(opcode, rd, rs1, rs2)	((opcode) +		\
-	                                 ((rs1) << 21) +	\
+					 ((rs1) << 21) +	\
 					 ((rd) << 16) +		\
 					 ((rs2) << 11))
 #define ASM_2C(opcode, cr, rs1, rs2)	((opcode) +		\
-	                                 ((cr) << 23) +		\
+					 ((cr) << 23) +		\
 					 ((rs1) << 16) +	\
 					 ((rs2) << 11))
 #define ASM_1IC(opcode, cr, rs, imm)	((opcode) +		\
-	                                 ((cr) << 23) +		\
+					 ((cr) << 23) +		\
 					 ((rs) << 16) +		\
 					 ((imm) & 0xffff))
 #define ASM_122(opcode, rd, rs1, rs2, imm1, imm2)		\
 					((opcode) +		\
-	                                 ((rs1) << 21) +	\
+					 ((rs1) << 21) +	\
 					 ((rd) << 16) +		\
 					 ((rs2) << 11) +	\
 					 ((imm1) << 6) +	\
 					 ((imm2) << 1))
 #define ASM_113(opcode, rd, rs, imm1, imm2, imm3)		\
 					((opcode) +		\
-	                                 ((rs) << 21) +		\
+					 ((rs) << 21) +		\
 					 ((rd) << 16) +		\
 					 ((imm1) << 11) +	\
 					 ((imm2) << 6) +	\
post/lib_powerpc/rlwimi.c +3 -3
index eccf71d..6bd53d0 100644
@@ -114,7 +114,7 @@ int cpu_post_test_rlwimi (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at rlwimi test %d !\n", i);
+		    post_log ("Error at rlwimi test %d !\n", i);
 		}
 	    }
 
@@ -127,8 +127,8 @@ int cpu_post_test_rlwimi (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at rlwimi test %d !\n", i);
-	        }
+		    post_log ("Error at rlwimi test %d !\n", i);
+		}
 	    }
 	}
     }
post/lib_powerpc/rlwinm.c +3 -3
index 5eaf30b..35a1a40 100644
@@ -107,7 +107,7 @@ int cpu_post_test_rlwinm (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at rlwinm test %d !\n", i);
+		    post_log ("Error at rlwinm test %d !\n", i);
 		}
 	    }
 
@@ -120,8 +120,8 @@ int cpu_post_test_rlwinm (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at rlwinm test %d !\n", i);
-	        }
+		    post_log ("Error at rlwinm test %d !\n", i);
+		}
 	    }
 	}
     }
post/lib_powerpc/rlwnm.c +3 -3
index 83ee70b..6e82893 100644
@@ -117,7 +117,7 @@ int cpu_post_test_rlwnm (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at rlwnm test %d !\n", i);
+		    post_log ("Error at rlwnm test %d !\n", i);
 		}
 	    }
 
@@ -130,8 +130,8 @@ int cpu_post_test_rlwnm (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at rlwnm test %d !\n", i);
-	        }
+		    post_log ("Error at rlwnm test %d !\n", i);
+		}
 	    }
 	}
     }
post/lib_powerpc/srawi.c +3 -3
index b276014..3723e33 100644
@@ -108,7 +108,7 @@ int cpu_post_test_srawi (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at srawi test %d !\n", i);
+		    post_log ("Error at srawi test %d !\n", i);
 		}
 	    }
 
@@ -121,8 +121,8 @@ int cpu_post_test_srawi (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at srawi test %d !\n", i);
-	        }
+		    post_log ("Error at srawi test %d !\n", i);
+		}
 	    }
 	}
     }
post/lib_powerpc/three.c +3 -3
index f7317dd..c3e7f68 100644
@@ -211,7 +211,7 @@ int cpu_post_test_three (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at three test %d !\n", i);
+		    post_log ("Error at three test %d !\n", i);
 		}
 	    }
 
@@ -224,8 +224,8 @@ int cpu_post_test_three (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at three test %d !\n", i);
-	        }
+		    post_log ("Error at three test %d !\n", i);
+		}
 	    }
 	}
     }
post/lib_powerpc/threei.c +1 -1
index f6d9052..1d40e1a 100644
@@ -103,7 +103,7 @@ int cpu_post_test_threei (void)
 
 	    if (ret != 0)
 	    {
-	        post_log ("Error at threei test %d !\n", i);
+		post_log ("Error at threei test %d !\n", i);
 	    }
 	}
     }
post/lib_powerpc/threex.c +3 -3
index 906fefd..ce1edf8 100644
@@ -181,7 +181,7 @@ int cpu_post_test_threex (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at threex test %d !\n", i);
+		    post_log ("Error at threex test %d !\n", i);
 		}
 	    }
 
@@ -194,8 +194,8 @@ int cpu_post_test_threex (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at threex test %d !\n", i);
-	        }
+		    post_log ("Error at threex test %d !\n", i);
+		}
 	    }
 	}
     }
post/lib_powerpc/twox.c +3 -3
index 3a9b136..9549dbb 100644
@@ -128,7 +128,7 @@ int cpu_post_test_twox (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at twox test %d !\n", i);
+		    post_log ("Error at twox test %d !\n", i);
 		}
 	    }
 
@@ -141,8 +141,8 @@ int cpu_post_test_twox (void)
 
 		if (ret != 0)
 		{
-	            post_log ("Error at twox test %d !\n", i);
-	        }
+		    post_log ("Error@twox test %d !\n", i);
+		}
 	    }
 	}
     }
test/compression.c +2 -2
index 8834d5e..139ea01 100644
@@ -127,8 +127,8 @@ static int uncompress_using_gzip(void *in, unsigned long in_size,
 }
 
 static int compress_using_bzip2(void *in, unsigned long in_size,
-			        void *out, unsigned long out_max,
-			        unsigned long *out_size)
+				void *out, unsigned long out_max,
+				unsigned long *out_size)
 {
 	/* There is no bzip2 compression in u-boot, so fake it. */
 	assert(in_size == strlen(plain));
test/image/test-fit.py +118 -118

410 lines not on this page · raw message

tools/Makefile +1 -1
index c36cde2..ca76f94 100644
@@ -162,7 +162,7 @@ HOSTCPPFLAGS =	-include $(SRCTREE)/include/libfdt_env.h \
 		-idirafter $(SRCTREE)/include \
 		-idirafter $(OBJTREE)/include2 \
 		-idirafter $(OBJTREE)/include \
-	        -I $(SRCTREE)/lib/libfdt \
+		-I $(SRCTREE)/lib/libfdt \
 		-I $(SRCTREE)/tools \
 		-DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
 		-DUSE_HOSTCC \
tools/bddb/defs.php +2 -2
index 39605ab..0b50602 100644
@@ -60,7 +60,7 @@
 	// CPU types
 	$cputyp_vals = array('','MPC8260(HIP3)','MPC8260A(HIP4)','MPC8280(HIP7)','MPC8560');
 
-	// CPU/BUS/CPM clock speeds
+	// CPU/BUS/CPM clock speeds 
 	$clk_vals = array('','33MHZ','66MHZ','100MHZ','133MHZ','166MHZ','200MHZ','233MHZ','266MHZ','300MHZ','333MHZ','366MHZ','400MHZ','433MHZ','466MHZ','500MHZ','533MHZ','566MHZ','600MHZ','633MHZ','666MHZ','700MHZ','733MHZ','766MHZ','800MHZ','833MHZ','866MHZ','900MHZ','933MHZ','966MHZ','1000MHZ','1033MHZ','1066MHZ','1100MHZ','1133MHZ','1166MHZ','1200MHZ','1233MHZ','1266MHZ','1300MHZ','1333MHZ');
 
 	// sdram sizes (nbits array is for eeprom config file)
@@ -178,7 +178,7 @@
 	function enum_to_index($name, $vals) {
 		$index = array_search($GLOBALS[$name], $vals);
 		if ($vals[0] != '')
-		        $index++;
+			$index++;
 		return $index;
 	}
 
tools/buildman/README +134 -134

365 lines not on this page · raw message

tools/buildman/board.py +118 -118

5 lines not on this page · raw message

tools/buildman/bsettings.py +9 -9
index 9164798..3e001f6 100644

Lines of this file are not shown. View the raw message.

tools/buildman/builder.py +1187 -1187

2,374 lines not on this page · raw message

tools/buildman/buildman.py +8 -8
index 43895b8..de6dd85 100755

Lines of this file are not shown. View the raw message.

tools/buildman/control.py +68 -68

136 lines not on this page · raw message

tools/buildman/test.py +81 -81

162 lines not on this page · raw message

tools/buildman/toolchain.py +196 -196

392 lines not on this page · raw message

tools/img2brec.sh +14 -14
index a0601e1..0fcdba2 100755

Lines of this file are not shown. View the raw message.

tools/imls/Makefile +1 -1
index 1be1edb..e371983 100644

Lines of this file are not shown. View the raw message.

tools/kernel-doc/docproc.c +26 -26

52 lines not on this page · raw message

tools/kernel-doc/kernel-doc +1 -1
index 6347418..cbbf34c 100755

Lines of this file are not shown. View the raw message.

tools/patman/checkpatch.py +97 -97

194 lines not on this page · raw message

tools/patman/command.py +49 -49

98 lines not on this page · raw message

tools/patman/commit.py +42 -42

84 lines not on this page · raw message

tools/patman/cros_subprocess.py +308 -308

616 lines not on this page · raw message

tools/patman/get_maintainer.py +11 -11
index 00b4939..49ef294 100644

Lines of this file are not shown. View the raw message.

tools/patman/gitutil.py +158 -158

316 lines not on this page · raw message

tools/patman/patchstream.py +304 -304

608 lines not on this page · raw message

tools/patman/patman.py +40 -40

80 lines not on this page · raw message

tools/patman/project.py +4 -4
index e05ff11..3e0f120 100644

Lines of this file are not shown. View the raw message.

tools/patman/series.py +221 -221

442 lines not on this page · raw message

tools/patman/settings.py +116 -116

232 lines not on this page · raw message

tools/patman/terminal.py +9 -9
index 597d526..f00c132 100644

Lines of this file are not shown. View the raw message.

tools/patman/test.py +75 -75

150 lines not on this page · raw message

tools/reformat.py +1 -1
index 7e03890..61306d0 100755

Lines of this file are not shown. View the raw message.

tools/scripts/make-asm-offsets +1 -1
index c686976..4c33756 100755

Lines of this file are not shown. View the raw message.

tools/ubsha1.c +4 -4
index c003f9a..1041588 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.8.3.1

Part of the diff is not shown here. View the raw message.

#7 lore raw

PATCH 2/4 Coding Style cleanup: replace leading SPACEs by TABs

Hello, Wolfgang, Simon.

(I added Cc Simon)

Quoted 8 lines
 tools/buildman/README                              |  268 +--
 tools/buildman/board.py                            |  236 +-
 tools/buildman/bsettings.py                        |   18 +-
 tools/buildman/builder.py                          | 2374 ++++++++++----------
 tools/buildman/buildman.py                         |   16 +-
 tools/buildman/control.py                          |  136 +-
 tools/buildman/test.py                             |  162 +-
 tools/buildman/toolchain.py                        |  392 ++--

I might be too worried, but so many lines are going to be changed. Just in case, I hope Simon checks this.

Best Regards
Masahiro Yamada

#8 lore raw

PATCH 2/4 Coding Style cleanup: replace leading SPACEs by TABs

Quoted 14 lines · Masahiro Yamada

Hello, Wolfgang, Simon.

(I added Cc Simon)

Quoted 8 lines
 tools/buildman/README                              |  268 +--
 tools/buildman/board.py                            |  236 +-
 tools/buildman/bsettings.py                        |   18 +-
 tools/buildman/builder.py                          | 2374 ++++++++++----------
 tools/buildman/buildman.py                         |   16 +-
 tools/buildman/control.py                          |  136 +-
 tools/buildman/test.py                             |  162 +-
 tools/buildman/toolchain.py                        |  392 ++--
Quoted 2 lines

I might be too worried, but so many lines are going to be changed. Just in case, I hope Simon checks this.

I'm not sure whacking the whitespace in quasi-external (I know patman is used outside U-Boot, I forget about buildman) python tools is the right way to go here. Today the tools are consistent and space-only. This makes it mix-and-match.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131009/5dd134f2/attachment.pgp>
#9 lore raw

PATCH 2/4 Coding Style cleanup: replace leading SPACEs by TABs

Hi Tom,

Quoted 16 lines · Tom Rini
Quoted 9 lines · Masahiro Yamada

Hello, Wolfgang, Simon.

(I added Cc Simon)

Quoted 4 lines
 tools/buildman/README                              |  268 +--
 tools/buildman/board.py                            |  236 +-
 tools/buildman/bsettings.py                        |   18 +-
 tools/buildman/builder.py                          | 2374

++++++++++----------

Quoted 5 lines
Quoted 4 lines
 tools/buildman/buildman.py                         |   16 +-
 tools/buildman/control.py                          |  136 +-
 tools/buildman/test.py                             |  162 +-
 tools/buildman/toolchain.py                        |  392 ++--
Quoted 8 lines
Quoted 2 lines

I might be too worried, but so many lines are going to be changed. Just in case, I hope Simon checks this.

I'm not sure whacking the whitespace in quasi-external (I know patman is used outside U-Boot, I forget about buildman) python tools is the right way to go here. Today the tools are consistent and space-only. This makes it mix-and-match.

patman also. The coding style I tried to follow for Python is PEP 8 - with spaces. At least it is consistent.

Regards,
Simon

#10 lore raw

PATCH 2/4 Coding Style cleanup: replace leading SPACEs by TABs

Quoted 23 lines · Simon Glass

Hi Tom,

Quoted 19 lines · Tom Rini
Quoted 9 lines · Masahiro Yamada

Hello, Wolfgang, Simon.

(I added Cc Simon)

Quoted 4 lines
 tools/buildman/README                              |  268 +--
 tools/buildman/board.py                            |  236 +-
 tools/buildman/bsettings.py                        |   18 +-
 tools/buildman/builder.py                          | 2374

++++++++++----------

Quoted 7 lines
Quoted 4 lines
 tools/buildman/buildman.py                         |   16 +-
 tools/buildman/control.py                          |  136 +-
 tools/buildman/test.py                             |  162 +-
 tools/buildman/toolchain.py                        |  392 ++--

I might be too worried, but so many lines are going to be changed. Just in case, I hope Simon checks this.

Quoted 7 lines
Quoted 4 lines

I'm not sure whacking the whitespace in quasi-external (I know patman is used outside U-Boot, I forget about buildman) python tools is the right way to go here. Today the tools are consistent and space-only. This makes it mix-and-match.

patman also. The coding style I tried to follow for Python is PEP 8 - with spaces. At least it is consistent.

OK, yeah. Wolfgang, please drop patman/buildman and test/image/test-fit.py changes out of this. reformat.py is consistently using tabs, except for what you fixed, so that's fine.

If that's still a problem, we need to reformat the whole of the tool to something tab-consistent instead, entirely. Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131009/4c42c759/attachment.pgp>
#11 lore raw

PATCH 2/4 Coding Style cleanup: replace leading SPACEs by TABs

In reply to Wolfgang Denk
Quoted 1 line · Wolfgang Denk

With the change to dropping the changes to python tools that follow PEP 4 for an indentation method (if we want to convert them, we need to do it fully, this did not), applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131014/91427b0e/attachment.pgp>
#12 lore raw

PATCH 3/4 Coding Style cleanup: remove trailing empty lines

In reply to Wolfgang Denk
---
 arch/arm/cpu/armv7/omap3/am35x_musb.c          | 1 -
 arch/arm/cpu/armv7/rmobile/Makefile            | 1 -
 arch/microblaze/include/asm/gpio.h             | 1 -
 arch/microblaze/include/asm/microblaze_intc.h  | 1 -
 arch/microblaze/include/asm/microblaze_timer.h | 1 -
 board/atmark-techno/armadillo-800eva/Makefile  | 1 -
 board/cpc45/ide.c                              | 1 -
 board/freescale/p1023rdb/ddr.c                 | 1 -
 board/isee/igep0033/board.c                    | 1 -
 board/isee/igep0033/mux.c                      | 1 -
 board/logicpd/am3517evm/am3517evm.c            | 1 -
 board/palmtreo680/README                       | 1 -
 doc/README.atmel_pmecc                         | 1 -
 drivers/mtd/mtdcore.c                          | 1 -
 drivers/mtd/nand/nand_ids.c                    | 1 -
 drivers/usb/musb-new/Makefile                  | 1 -
 lib/libfdt/fdt_empty_tree.c                    | 1 -
 lib/string.c                                   | 1 -
 18 files changed, 18 deletions(-)
arch/arm/cpu/armv7/omap3/am35x_musb.c +0 -1
index 9a31f8a..74dd105 100644
@@ -59,4 +59,3 @@ void am35x_musb_clear_irq(void)
 			0, USBOTGSS_INT_CLR);
 	readl(&am35x_scm_general_regs->lvl_intr_clr);
 }
-
arch/arm/cpu/armv7/rmobile/Makefile +0 -1
index 3168e97..41bceb1 100644
@@ -46,4 +46,3 @@ include $(SRCTREE)/rules.mk
 sinclude $(obj).depend
 
 #########################################################################
-
arch/microblaze/include/asm/gpio.h +0 -1
index f5cad56..4762de0 100644
@@ -12,4 +12,3 @@ extern int gpio_alloc(u32 baseaddr, const char *name, u32 gpio_no);
 extern void gpio_info(void);
 
 #endif
-
arch/microblaze/include/asm/microblaze_intc.h +0 -1
index 31b94c6..0fb9207 100644
@@ -36,4 +36,3 @@ int install_interrupt_handler(int irq, interrupt_handler_t *hdlr,
 				       void *arg);
 
 int interrupts_init(void);
-
arch/microblaze/include/asm/microblaze_timer.h +0 -1
index cfd3792..0d81402 100644
@@ -25,4 +25,3 @@ typedef volatile struct microblaze_timer_t {
 } microblaze_timer_t;
 
 int timer_init(void);
-
board/atmark-techno/armadillo-800eva/Makefile +0 -1
index 9f9618b..a81e40b 100644
@@ -43,4 +43,3 @@ include $(SRCTREE)/rules.mk
 sinclude $(obj).depend
 
 #########################################################################
-
board/cpc45/ide.c +0 -1
index 448d887..1944e36 100644
@@ -126,4 +126,3 @@ void ide_led(uchar led, uchar status)
 
 	writeb(val, BCSR_BASE + 0x04);
 }
-
board/freescale/p1023rdb/ddr.c +0 -1
index ce406b2..f027885 100644
@@ -86,4 +86,3 @@ void fsl_ddr_board_options(memctl_options_t *popts,
 		popts->cs_local_opts[i].odt_wr_cfg = FSL_DDR_ODT_CS;
 	}
 }
-
board/isee/igep0033/board.c +0 -1
index 9e91f68..ced9b06 100644
@@ -167,4 +167,3 @@ int board_eth_init(bd_t *bis)
 	return ret;
 }
 #endif
-
board/isee/igep0033/mux.c +0 -1
index 16f4add..e862776 100644
@@ -86,4 +86,3 @@ void enable_board_pin_mux(void)
 	/* Ethernet pinmux. */
 	configure_module_pin_mux(rmii1_pin_mux);
 }
-
board/logicpd/am3517evm/am3517evm.c +0 -1
index 1cabc80..b6c68da 100644
@@ -143,4 +143,3 @@ int board_eth_init(bd_t *bis)
 	return n;
 }
 #endif
-
board/palmtreo680/README +0 -1
index 159f1f6..46828eb 100644
@@ -578,4 +578,3 @@ TODO
   - U-boot command that will write a new image to the bootloader partition in
     flash.
   - Linux FTD support.
-
doc/README.atmel_pmecc +0 -1
index 41f3bd7..cf8373b 100644
@@ -27,4 +27,3 @@ Take AT91SAM9X5EK as an example, the board definition file likes:
 #define CONFIG_ATMEL_NAND_HW_PMECC	1
 #define CONFIG_PMECC_CAP		2
 #define CONFIG_PMECC_SECTOR_SIZE	512
-
drivers/mtd/mtdcore.c +0 -1
index 49c0814..f509603 100644
@@ -376,4 +376,3 @@ int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs)
 		return -EROFS;
 	return mtd->_block_markbad(mtd, ofs);
 }
-
drivers/mtd/nand/nand_ids.c +0 -1
index f856778..f3f0cb6 100644
@@ -180,4 +180,3 @@ const struct nand_manufacturers nand_manuf_ids[] = {
 	{NAND_MFR_EON, "Eon"},
 	{0x0, "Unknown"}
 };
-
drivers/usb/musb-new/Makefile +0 -1
index c23bef1..626af3e 100644
@@ -36,4 +36,3 @@ include $(SRCTREE)/rules.mk
 sinclude $(obj).depend
 
 #########################################################################
-
lib/libfdt/fdt_empty_tree.c +0 -1
index ac6c1fb..34f1c84 100644
@@ -36,4 +36,3 @@ int fdt_create_empty_tree(void *buf, int bufsize)
 
 	return fdt_open_into(buf, buf, bufsize);
 }
-
lib/string.c +0 -1
index 3a82efa..29c2ca7 100644
@@ -675,4 +675,3 @@ void *memchr_inv(const void *start, int c, size_t bytes)
 	return check_bytes8(start, value, bytes % 8);
 }
 #endif
-
Signature · 1 line
1.8.3.1
#13 lore raw

PATCH 3/4 Coding Style cleanup: remove trailing empty lines

Quoted 1 line · Wolfgang Denk

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131014/345207c2/attachment.pgp>
#14 lore raw

PATCH 4/4 Coding Style cleanup: drop some excessive empty lines

In reply to Wolfgang Denk
---
 arch/arm/cpu/armv7/omap5/prcm-regs.c |  2 --
 board/LEOX/elpt860/README.LEOX       |  1 -
 board/palmtreo680/README             | 17 -----------------
 board/sandpoint/README               |  2 --
 board/siemens/rut/board.c            |  4 ----
 doc/README.gpt                       |  7 -------
 doc/README.p1010rdb                  |  1 -
 doc/README.qemu-mips                 |  1 -
 doc/driver-model/UDM-block.txt       |  1 -
 drivers/usb/gadget/f_mass_storage.c  |  5 -----
 include/configs/T4240EMU.h           |  4 ----
 tools/buildman/README                |  1 -
 12 files changed, 46 deletions(-)
arch/arm/cpu/armv7/omap5/prcm-regs.c +0 -2
index 5a3d52c..56c497f 100644
@@ -526,8 +526,6 @@ struct prcm_regs const omap5_es2_prcm = {
 	.cm1_abe_timer8_clkctrl = 0x4a004580,
 	.cm1_abe_wdt3_clkctrl = 0x4a004588,
 
-
-
 	/* cm2.ckgen */
 	.cm_clksel_mpu_m3_iss_root = 0x4a008100,
 	.cm_clksel_usb_60mhz = 0x4a008104,
board/LEOX/elpt860/README.LEOX +0 -1
index fe3c0f1..aa41ff8 100644
@@ -46,7 +46,6 @@ U-Boot, at the address of 0x03000000.
 
 =============================================================================
 
-
 ##################################################
 # Operation on the serial console (SMC1)
 ##############################
board/palmtreo680/README +0 -17
index 46828eb..c8799c6 100644
@@ -30,7 +30,6 @@ go wrong, but please tell me what happened exactly.  For that matter, I'd love
 to hear from you if you succeed.
 
 
-
 Details on the SPL
 ==================
 
@@ -51,7 +50,6 @@ IPL has already loaded to its correct SDRAM address, and then loads the
 remainder of u-boot and jumps to it.
 
 
-
 The docg4's "reliable mode"
 ===========================
 
@@ -79,7 +77,6 @@ module parameter), but not reading.  However, the u-boot docg4_spl driver does
 read in reliable mode, in the same fashion as the IPL.
 
 
-
 Details on the IPL and its data format
 ======================================
 
@@ -105,7 +102,6 @@ For the sake of simplicity and uniformity, the u-boot SPL mimics the operation
 of the IPL, and expects the image to be stored in the same format.
 
 
-
 Instructions on Programming u-boot to flash
 ===========================================
 
@@ -117,7 +113,6 @@ remainder of this document describes in detail how to program u-boot to the
 flash using Linux running on the Treo.
 
 
-
 Hardware Prerequisites
 ======================
 
@@ -136,7 +131,6 @@ A Linux desktop PC.
   to flash, you'll really want to use a Linux PC.
 
 
-
 Treo-side Software Prerequisites
 ================================
 
@@ -152,7 +146,6 @@ Linux bootloader for PalmOS:
   parameters passed to the kernel.
 
 
-
 Linux kernel:
 
   The kernel on the Treo 680 is still a little rough around the edges, and the
@@ -200,7 +193,6 @@ Linux kernel:
   and /dev/mtd2 for these partitions, respectively.  Ensure that your root file
   system at least has /dev/mtd1 if you are not running udev or mdev.
 
-
 Userspace Utilities:
 
   In addition to everything necessary to provide a useful userspace environment
@@ -221,19 +213,16 @@ Userspace Utilities:
   from the mtd-utils package.
 
 
-
 Desktop PC-side Software Prerequisites
 ======================================
 
 Terminal emulator application:
   minicom, kermit, etc.
 
-
 Linux kernel:
   Compiled with CONFIG_USB_SERIAL enabled.  Build this as a module.
 
 
-
 Recommended (Not directly related to u-boot)
 ============================================
 
@@ -275,7 +264,6 @@ configure the usb0 interface on the desktop.)  Use the nfs 'nolock' option when
 mounting to avoid the need to run a portmapper like rpcbind.
 
 
-
 Preliminaries
 =============
 
@@ -397,7 +385,6 @@ forget to copy the file to permanent storage, such as an mmc card.
 If all of the above went well, you can now program u-boot.
 
 
-
 Programming u-boot
 ==================
 
@@ -438,7 +425,6 @@ four blocks in /dev/mtd1; i.e., at offsets 0x00000, 0x40000, 0x80000, 0xc0000.
 Shutdown linux, remove and re-insert the battery, hold your breath...
 
 
-
 Enjoying u-boot
 ===============
 
@@ -478,7 +464,6 @@ support for reliable mode in u-boot's docg4 flash driver.  This should be
 corrected soon.
 
 
-
 Customizing
 ===========
 
@@ -511,7 +496,6 @@ in flash did not seem worth the cost of a 256k flash block.  But adding this
 should be straightforward.
 
 
-
 Restoring PalmOS
 ================
 
@@ -568,7 +552,6 @@ modprobe docg4 ignore_badblocks=1 || exit 1
 dd if=$1 bs=1 skip=$file_ofs count=540672 | nandwrite -o -n -s 0x80000 $2 - || exit 1
 modprobe -r docg4
 
-
 TODO
 ====
 
board/sandpoint/README +0 -2
index a2e0831..c9996a8 100644
@@ -15,8 +15,6 @@ tkoeller at gmx.net.
 Thomas Koeller
 
 
-
-
 The port was tested on a Sandpoint 8240 X3 board, with U-Boot
 installed in the flash memory of the CPU card. Please use the
 following DIP switch settings:
board/siemens/rut/board.c +0 -4
index f2b0476..5de8fc6 100644
@@ -328,8 +328,6 @@ static int get_clk(struct dpll_regs *dpll_regs)
 	return f;
 };
 
-
-
 int clk_get(int clk)
 {
 	return get_clk(&dpll_lcd_regs);
@@ -426,7 +424,5 @@ static int board_video_init(void)
 
 	return 0;
 }
-
-
 #endif /* ifdef CONFIG_VIDEO */
 #include "../common/board.c"
doc/README.gpt +0 -7
index 81dfe58..5c133f3 100644
@@ -6,7 +6,6 @@
 #
 # SPDX-License-Identifier:	GPL-2.0+
 
-
 Glossary:
 ========
 - UUID -(Universally Unique Identifier)
@@ -22,7 +21,6 @@ Introduction:
 This document describes the GPT partition table format and usage of
 the gpt command in u-boot.
 
-
 UUID introduction:
 ====================
 
@@ -78,7 +76,6 @@ GPT brief explanation:
 	LBA -1         |Secondary GPT Header             |
 	----------------------------------------------------------
 
-
 For a legacy reasons, GPT's LBA 0 sector has a MBR structure. It is called
 "protective MBR".
 Its first partition entry ID has 0xEE value, and disk software, which is not
@@ -114,7 +111,6 @@ Offset  Size    Description
 TOTAL: 512 B
 
 
-
 IMPORTANT:
 
 GPT headers and partition entries are protected by CRC32 (the POSIX CRC32).
@@ -132,7 +128,6 @@ sizeof(partition_entry_size (usually 128)))
 Observe, how Secondary GPT is placed in the memory. It is NOT a mirror reflect
 of the Primary.
 
-
 	   Partition Entry Format:
 	   ----------------------
 	   Offset  Size    Description
@@ -150,7 +145,6 @@ of the Primary.
 	   Bit 62 - Hidden
 	   Bit 63 - Not mount
 
-
 Creating GPT partitions in U-Boot:
 ==============
 
@@ -171,7 +165,6 @@ To restore GUID partition table one needs to:
 2. From u-boot prompt type:
    gpt write mmc 0 $partitions
 
-
 Useful info:
 ============
 
doc/README.p1010rdb +0 -1
index dee63d7..6b2b5ff 100644
@@ -185,7 +185,6 @@ Switch from NAND to NOR boot with Core/CCB/DDR (800/400/667 MHz):
 	=> reset
 
 
-
 Boot Linux from network using TFTP on P1010RDB
 ==============================================
 Place uImage, p1010rdb.dtb and rootfs files in the TFTP disk area.
doc/README.qemu-mips +0 -1
index 1fdfbab..a192752 100644
@@ -15,7 +15,6 @@ recent qemu versions. When using emulated flash, launch with
 -pflash <filename> and erase mips_bios.bin.
 
 
-
 Notes for the Qemu MIPS port
 ----------------------------
 
doc/driver-model/UDM-block.txt +0 -1
index b42ec69..ffbbdf3 100644
@@ -218,7 +218,6 @@ II) Approach
   in near future.
 
 
-
 III) Analysis of in-tree drivers
 --------------------------------
 
drivers/usb/gadget/f_mass_storage.c +0 -5
index b34068a..6ecdea3 100644
@@ -9,7 +9,6 @@
  * SPDX-License-Identifier: GPL-2.0+	BSD-3-Clause
  */
 
-
 /*
  * The Mass Storage Function acts as a USB Mass Storage device,
  * appearing to the host as a disk drive or as a CD-ROM drive.  In
@@ -153,7 +152,6 @@
  * <http://www.usb.org/developers/devclass_docs/usbmass-ufi10.pdf>.
  */
 
-
 /*
  *				Driver Design
  *
@@ -264,7 +262,6 @@
 
 static const char fsg_string_interface[] = "Mass Storage";
 
-
 #define FSG_NO_INTR_EP 1
 #define FSG_NO_DEVICE_STRINGS    1
 #define FSG_NO_OTG               1
@@ -2629,8 +2626,6 @@ usb_copy_descriptors(struct usb_descriptor_header **src)
 	return ret;
 }
 
-
-
 static void fsg_unbind(struct usb_configuration *c, struct usb_function *f)
 {
 	struct fsg_dev		*fsg = fsg_from_func(f);
include/configs/T4240EMU.h +0 -4
index 9fa6b77..5e228f3 100644
@@ -30,7 +30,6 @@
 #define CONFIG_DDR_CLK_FREQ	133333333
 #define CONFIG_FSL_TBCLK_EXTRA_DIV 100
 
-
 /*
  * DDR Setup
  */
@@ -76,7 +75,6 @@
 #define CONFIG_SYS_CS0_FTIM2		CONFIG_SYS_NOR_FTIM2
 #define CONFIG_SYS_CS0_FTIM3		CONFIG_SYS_NOR_FTIM3
 
-
 /* I2C */
 #define CONFIG_SYS_FSL_I2C_SPEED	4000000	/* faster speed for emulator */
 #define CONFIG_SYS_FSL_I2C2_SPEED	4000000
@@ -104,8 +102,6 @@
 #define CONFIG_SYS_QE_FMAN_FW_LENGTH	0x10000
 #define CONFIG_SYS_FDT_PAD		(0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
 
-
-
 #define CONFIG_BOOTDELAY	0
 
 /*
tools/buildman/README +0 -1
index b6b771c..6cecdb6 100644
@@ -677,7 +677,6 @@ the build speed by building all commits for a board instead of the other
 way around.
 
 
-
 Simon Glass
 sjg at chromium.org
 Halloween 2012
Signature · 1 line
1.8.3.1
#15 lore raw

PATCH 4/4 Coding Style cleanup: drop some excessive empty lines

Quoted 1 line · Wolfgang Denk

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20131014/a338859b/attachment.pgp>