aboutsummaryrefslogtreecommitdiffstats
path: root/board/dave
diff options
context:
space:
mode:
authorWilliam Juul <william.juul@datarespons.no>2007-11-09 13:32:30 +0100
committerScott Wood <scottwood@freescale.com>2008-08-12 11:31:17 -0500
commit5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f (patch)
tree7276d7e752d241d719b2470c7d189cd9760982e4 /board/dave
parent4cbb651b29cb64d378a06729970e1e153bb605b1 (diff)
downloadu-boot-midas-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.tar.gz
u-boot-midas-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.tar.bz2
u-boot-midas-5e1dae5c3db7f4026f31b6a2a81ecd9e9dee475f.zip
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/dave')
-rw-r--r--board/dave/PPChameleonEVB/nand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/dave/PPChameleonEVB/nand.c b/board/dave/PPChameleonEVB/nand.c
index ea6400c049..3ccbf650db 100644
--- a/board/dave/PPChameleonEVB/nand.c
+++ b/board/dave/PPChameleonEVB/nand.c
@@ -36,7 +36,7 @@ static void ppchameleonevb_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int
struct nand_chip *this = mtd->priv;
ulong base = (ulong) this->IO_ADDR_W;
- if (ctrl & NAND_CTRL_CHANGE) {
+ if (ctrl & NAND_CTRL_CHANGE) {
if ( ctrl & NAND_CLE )
MACRO_NAND_CTL_SETCLE((unsigned long)base);
else
@@ -51,7 +51,7 @@ static void ppchameleonevb_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int
MACRO_NAND_DISABLE_CE((unsigned long)base);
}
- if (cmd != NAND_CMD_NONE)
+ if (cmd != NAND_CMD_NONE)
writeb(cmd, this->IO_ADDR_W);
}