Blackfin: bf537-stamp nand: fix more style errors in previous commit
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
41f3325ae9
commit
0649908f92
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* (C) Copyright 2006 Aubrey.Li, aubrey.li@analog.com
|
||||
* Copyright (c) 2006-2007 Analog Devices Inc.
|
||||
*
|
||||
* See file CREDITS for list of people who contributed to this
|
||||
* project.
|
||||
@ -43,11 +43,11 @@ static void bfin_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl)
|
||||
u32 IO_ADDR_W = (u32) this->IO_ADDR_W;
|
||||
|
||||
if (ctrl & NAND_CTRL_CHANGE) {
|
||||
if( ctrl & NAND_CLE )
|
||||
if (ctrl & NAND_CLE)
|
||||
IO_ADDR_W = CONFIG_SYS_NAND_BASE + BFIN_NAND_CLE;
|
||||
else
|
||||
IO_ADDR_W = CONFIG_SYS_NAND_BASE;
|
||||
if( ctrl & NAND_ALE )
|
||||
if (ctrl & NAND_ALE)
|
||||
IO_ADDR_W = CONFIG_SYS_NAND_BASE + BFIN_NAND_ALE;
|
||||
else
|
||||
IO_ADDR_W = CONFIG_SYS_NAND_BASE;
|
||||
|
Loading…
Reference in New Issue
Block a user