Minor coding style cleanup.

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk
2011-05-19 22:21:41 +02:00
parent 4d69e98c06
commit cd6881b519
16 changed files with 11 additions and 21 deletions

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

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

View File

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

View File

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