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