From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tolunay Orkun Date: Thu, 30 Nov 2006 15:35:37 -0600 Subject: [U-Boot-Users] [PATCH] use CFI-Flash and board depended driver together In-Reply-To: References: Message-ID: <456F4EA9.3070900@orkun.us> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Jens Scharsig wrote: > Hello, > > i need to use cfi and board flash driver together. This Patch contains a > simple way to do this with a minimun changes at cfi_flash.c. All changes > will only enable if CFG_FLASH_BOARD_DRIVER defined. > > > CHANGELOG > > * Rename flash_print_info, flash_erase, write_buff and > flash_real_protect to cfi_xxxx, if CFG_FLASH_BOARD_DRIVER is > defined. This will allow use cfi driver together with board a > dependent flash driver (see README.board-dependent-flash for > an example) I have to object to this patch. I will be providing a testing patch tonight or tomorrow that will address this issue properly which is teaching cfi_flash driver to deal with non-cfi flash. There is no need to have two flash drivers... Tolunay