From mboxrd@z Thu Jan 1 00:00:00 1970 From: xiangfu_gmail Date: Tue, 26 May 2009 17:12:01 +0800 Subject: [U-Boot] [U-BOOT] nand merge problem In-Reply-To: <4A1B9E53.20406@gmail.com> References: <4A1B9E53.20406@gmail.com> Message-ID: <4A1BB261.7080808@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de xiangfu_gmail wrote: > Hi > I have try to merge Ingenic U-boot (1.1.6) with upstream. > but I have some problem Hi I rewrite the jz_hwcontrol to : -- static void jz_hwcontrol(......) { ...... if (ctrl & NAND_CTRL_CHANGE) { if (ctrl & NAND_NCE) REG_EMC_NFCSR |= EMC_NFCSR_NFCE1; else REG_EMC_NFCSR &= ~EMC_NFCSR_NFCE1; if (ctrl & NAND_CLE) ...... } } and " nand->cmd_ctrl = jz_hwcontrol; " in board_nand_init but it's still not work: the error message: -- NAND: nand_get_flash_type: second ID read did not match ff,ff against 00,00 No NAND device found!!! 0 MiB -- what can cause this problem? thanks