diff options
author | William Juul <william.juul@datarespons.no> | 2007-11-09 15:32:30 +0300 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2008-08-12 20:31:17 +0400 |
commit | 5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f (patch) | |
tree | 7276d7e752d241d719b2470c7d189cd9760982e4 /board/esd/common | |
parent | 4cbb651b29cb64d378a06729970e1e153bb605b1 (diff) | |
download | u-boot-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.tar.xz |
Fixing coding style issues
- Fixing leading white spaces
- Fixing indentation where 4 spaces are used instead of tab
- Removing C++ comments (//), wherever I introduced them
Signed-off-by: William Juul <william.juul@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'board/esd/common')
-rw-r--r-- | board/esd/common/esd405ep_nand.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/esd/common/esd405ep_nand.c b/board/esd/common/esd405ep_nand.c index 4bf81ab4aa..40d1efb081 100644 --- a/board/esd/common/esd405ep_nand.c +++ b/board/esd/common/esd405ep_nand.c @@ -32,8 +32,8 @@ */ static void esd405ep_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) { - struct nand_chip *this = mtd->priv; - if (ctrl & NAND_CTRL_CHANGE) { + struct nand_chip *this = mtd->priv; + if (ctrl & NAND_CTRL_CHANGE) { if ( ctrl & NAND_CLE ) out_be32((void *)GPIO0_OR, in_be32((void *)GPIO0_OR) | CFG_NAND_CLE); else @@ -48,7 +48,7 @@ static void esd405ep_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int out_be32((void *)GPIO0_OR, in_be32((void *)GPIO0_OR) | CFG_NAND_CE); } - if (cmd != NAND_CMD_NONE) + if (cmd != NAND_CMD_NONE) writeb(cmd, this->IO_ADDR_W); } |