]> git.sur5r.net Git - u-boot/commitdiff
Minor coding style cleanup.
authorWolfgang Denk <wd@denx.de>
Thu, 19 May 2011 20:21:41 +0000 (22:21 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 19 May 2011 20:22:44 +0000 (22:22 +0200)
Signed-off-by: Wolfgang Denk <wd@denx.de>
16 files changed:
arch/arm/cpu/armv7/start.S
arch/arm/lib/memcpy.S
arch/powerpc/cpu/mpc85xx/speed.c
arch/x86/cpu/sc520/sc520.c
board/freescale/common/sdhc_boot.c
board/ti/beagle/led.c
common/cmd_led.c
doc/README.arm-relocation
doc/README.p1022ds
drivers/misc/fsl_law.c
drivers/mmc/mmc.c
drivers/net/phy/generic_10g.c
drivers/net/tsec.c
include/configs/P3041DS.h
include/configs/P5020DS.h
include/fsl_mdio.h

index 2929fc7e32b216279104feb60e5e833301d7e014..d91ae12cb99b29cccb33f62215f267fb063c7376 100644 (file)
@@ -79,7 +79,7 @@ _TEXT_BASE:
  */
 .globl _armboot_start
 _armboot_start:
-        .word _start
+       .word _start
 #endif
 
 /*
index 40db90e5f45b5663a459e6d6865eb950d4c7adef..3b5aeec4cf5b373e35fa9db0918a28e7e3db3d6d 100644 (file)
@@ -238,4 +238,3 @@ memcpy:
 17:            forward_copy_shift      pull=16 push=16
 
 18:            forward_copy_shift      pull=24 push=8
-
index c4c156d73720c07012429bbd211e4fc06efd6e47..a83dfeb84cf536093ed1f9a10e1ee04ec70bb1b4 100644 (file)
@@ -112,7 +112,7 @@ void get_sys_info (sys_info_t * sysInfo)
 #if (CONFIG_SYS_FSL_NUM_CC_PLLS == 2)
 #define HWA_CC_PLL     1
 #elif (CONFIG_SYS_FSL_NUM_CC_PLLS == 4)
-#define HWA_CC_PLL     2       
+#define HWA_CC_PLL     2
 #else
 #error CONFIG_SYS_FSL_NUM_CC_PLLS not set or unknown case
 #endif
index 8c410a2337d46b720421fc2926be473e3f62c8de..726a32535829806b25e94ba3583c9592c91d528c 100644 (file)
@@ -64,4 +64,3 @@ int cpu_init_r(void)
 
        return x86_cpu_init_r();
 }
-
index 964c6b830c19ccf0a6b25b360e76435682e3ac50..e4323181fc677cf6a9e1294fd56dbe29ead825c5 100644 (file)
@@ -61,4 +61,3 @@ int mmc_get_env_addr(struct mmc *mmc, u32 *env_addr)
 
        return 0;
 }
-
index df265529866dbf13cc81ccdc948f790205046579..08f95a0a16782c8a4121030eff3b645bb154365d 100644 (file)
@@ -88,4 +88,3 @@ void __led_set (led_id_t mask, int state)
        }
 #endif
 }
-
index f1e8a62cb631bc747250d0f3f9cc0f7ba40241bd..c53195f1a3605e74440922c1ac70e8b838b50852 100644 (file)
@@ -96,7 +96,7 @@ int do_led (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
        }
 
        for (i = 0; led_commands[i].string; i++) {
-               if ((strcmp("all", argv[1]) == 0) || 
+               if ((strcmp("all", argv[1]) == 0) ||
                    (strcmp(led_commands[i].string, argv[1]) == 0)) {
                        if (led_commands[i].on) {
                                if (state) {
index 45f5ea7146b5707fd1c388e998a33c587f1553c4..5a9a2fb07105b5aefe3a4cda44082a894950569c 100644 (file)
@@ -177,9 +177,9 @@ ip_addr     = XXXXXXXXXX
 baudrate    = XXXXXXXXXX
 TLB addr    = XXXXXXXXXX
 relocaddr   = 0x8ff08000
-              ^^^^^^^^^^
+             ^^^^^^^^^^
 reloc off   = XXXXXXXXXX
-irq_sp      = XXXXXXXXXX
+irq_sp     = XXXXXXXXXX
 sp start    = XXXXXXXXXX
 FB base     = XXXXXXXXXX
 
index 473ecf621796871877e7813a1aa3377d09ca46e1..04d91970748958b98cd3f9810f1cb8dac432b4a4 100644 (file)
@@ -21,4 +21,3 @@ and AUDIO codec clock sources only setting as 11MHz or 12MHz !
 'setenv hwconfig 'audclk:12;tdm'       --- error !
 'setenv hwconfig 'audclk:11;tdm'       --- error !
 'setenv hwconfig 'audclk:10'           --- error !
-
index 3233ff2e49a37d42aed1be973259441d0bc1658f..a7d04b7ea3923abdfa9b4ecab330f5024a71868d 100644 (file)
@@ -247,13 +247,13 @@ void init_laws(void)
 #error FSL_HW_NUM_LAWS can not be greater than 32 w/o code changes
 #endif
 
-       /* 
+       /*
         * Any LAWs that were set up before we booted assume they are meant to
         * be around and mark them used.
         */
        for (i = 0; i < FSL_HW_NUM_LAWS; i++) {
                u32 lawar = in_be32(LAWAR_ADDR(i));
-               
+
                if (lawar & LAW_EN)
                        gd->used_laws |= (1 << i);
        }
index 1d089a7d11e2c3bfa3079e6e83a775e6b3b32e4b..21aedbaa3fe2e27e9f1e82a6c4ed3b0f66ad4550 100644 (file)
@@ -434,14 +434,14 @@ int mmc_send_op_cond(struct mmc *mmc)
        cmd.resp_type = MMC_RSP_R3;
        cmd.cmdarg = 0;
        cmd.flags = 0;
+
        err = mmc_send_cmd(mmc, &cmd, NULL);
+
        if (err)
                return err;
+
        udelay(1000);
+
        do {
                cmd.cmdidx = MMC_CMD_SEND_OP_COND;
                cmd.resp_type = MMC_RSP_R3;
index 315c50867dfdda864996574f1897f0d6d9dc5782..60dec457bf78717039c264a74d7e3e74129f5799 100644 (file)
@@ -102,4 +102,3 @@ struct phy_driver gen10g_driver = {
        .startup        = gen10g_startup,
        .shutdown       = gen10g_shutdown,
 };
-
index 06e5834a94ca32cb6798e2a51db47d3ab9ef27c1..78ffc95c537b63a3ac5796e8cf400bd83fa3c051 100644 (file)
@@ -593,4 +593,3 @@ int tsec_standard_init(bd_t *bis)
 
        return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info));
 }
-
index 46f91ccfc3ad6d286cbbd6af48e56dfea367056d..d9e8f5193508bfe56b124849e3abbebedde08338 100644 (file)
@@ -34,4 +34,3 @@
 #define CONFIG_ICS307_REFCLK_HZ                25000000  /* ICS307 ref clk freq */
 
 #include "corenet_ds.h"
-
index 6d279b393e6538fa60db40a1d209a6ec682678a3..dd8d442e33080a65d9363323332ff0f1e8d354b1 100644 (file)
@@ -34,4 +34,3 @@
 #define CONFIG_ICS307_REFCLK_HZ                25000000  /* ICS307 ref clk freq */
 
 #include "corenet_ds.h"
-
index 17ca79c9058f613cc33a98d7f694b0c146856a14..ea8b54b56f9e987b7822fbfa88227d939d9b89c5 100644 (file)
@@ -59,4 +59,3 @@ struct fsl_pq_mdio_info {
 int fsl_pq_mdio_init(bd_t *bis, struct fsl_pq_mdio_info *info);
 
 #endif /* __FSL_PHY_H__ */
-