From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Date: Wed, 16 Jan 2013 00:39:08 +0100 Subject: [U-Boot] Flash Not Erased Problem with M29W128GL In-Reply-To: <02BE3AF15ED7E746BB6EBFDD1431024707C3912A@IGTEBLRMB12.igatecorp.com> References: <02BE3AF15ED7E746BB6EBFDD1431024707C3912A@IGTEBLRMB12.igatecorp.com> Message-ID: <20130115233908.GA19600@sion.sysam> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ramesh, this issue could be connected to a patch i recently posted to the list, where the erase command is now allowed to be customizable for CFI AMD compatible chips only. Are you using board_flash_get_legacy in your board files ? If yes, could you just add after line 1834 in cfi_flash.c info->cmd_reset = AMD_CMD_RESET; + info->cmd_erase_sector = AMD_CMD_ERASE_SECTOR; And report back if erasing now works ? Many Thanks, Angelo Dureghello