Minor coding style cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
master
Wolfgang Denk 14 years ago
parent 4d69e98c06
commit cd6881b519
  1. 2
      arch/arm/cpu/armv7/start.S
  2. 1
      arch/arm/lib/memcpy.S
  3. 2
      arch/powerpc/cpu/mpc85xx/speed.c
  4. 1
      arch/x86/cpu/sc520/sc520.c
  5. 1
      board/freescale/common/sdhc_boot.c
  6. 1
      board/ti/beagle/led.c
  7. 2
      common/cmd_led.c
  8. 4
      doc/README.arm-relocation
  9. 1
      doc/README.p1022ds
  10. 4
      drivers/misc/fsl_law.c
  11. 8
      drivers/mmc/mmc.c
  12. 1
      drivers/net/phy/generic_10g.c
  13. 1
      drivers/net/tsec.c
  14. 1
      include/configs/P3041DS.h
  15. 1
      include/configs/P5020DS.h
  16. 1
      include/fsl_mdio.h

@ -79,7 +79,7 @@ _TEXT_BASE:
*/
.globl _armboot_start
_armboot_start:
.word _start
.word _start
#endif
/*

@ -238,4 +238,3 @@ memcpy:
17: forward_copy_shift pull=16 push=16
18: forward_copy_shift pull=24 push=8

@ -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

@ -64,4 +64,3 @@ int cpu_init_r(void)
return x86_cpu_init_r();
}

@ -61,4 +61,3 @@ int mmc_get_env_addr(struct mmc *mmc, u32 *env_addr)
return 0;
}

@ -88,4 +88,3 @@ void __led_set (led_id_t mask, int state)
}
#endif
}

@ -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) {

@ -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

@ -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 !

@ -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);
}

@ -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;

@ -102,4 +102,3 @@ struct phy_driver gen10g_driver = {
.startup = gen10g_startup,
.shutdown = gen10g_shutdown,
};

@ -593,4 +593,3 @@ int tsec_standard_init(bd_t *bis)
return tsec_eth_init(bis, tsec_info, ARRAY_SIZE(tsec_info));
}

@ -34,4 +34,3 @@
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
#include "corenet_ds.h"

@ -34,4 +34,3 @@
#define CONFIG_ICS307_REFCLK_HZ 25000000 /* ICS307 ref clk freq */
#include "corenet_ds.h"

@ -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__ */

Loading…
Cancel
Save