[U-Boot-Users] [PATCH] use CFI-Flash and board depended driver together

Tolunay Orkun listmember at orkun.us
Thu Nov 30 22:35:37 CET 2006


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




More information about the U-Boot mailing list