[U-Boot-Users] Help: flash driver for CFI complient flash

s.maiti at tcs.com s.maiti at tcs.com
Wed Jan 11 12:16:38 CET 2006


Thanks for the reply. What I have done is included the following code in 
include/configs/MPC8260ADS.h


#define CFG_FLASH_CFI_DRIVER
#define CFG_MAX_FLASH_SECT 35 /* Max # sects per bank */
#define CFG_MAX_FLASH_BANKS 1 /* Max # of flash banks */
#define CFG_FLASH_CFI
It's showing some compilation error, saying multiple definition of flash 
erase, etc. I think it's clashing with the /board/mpc8260ads/flash.c

My questions are:
1) Should I copy the cfi_flash.c to board folder and rename it as flash.c? 

    or
    Should I rename the flash.c?
Any help in this regard will be highly appreciated.

 
Thanks and regards,
Souvik Maiti


Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060111/1b499e8f/attachment.htm 


More information about the U-Boot mailing list