From: Tolunay Orkun <listmember@orkun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Can U-boot support CFI and None CFI devices on the same board
Date: Tue, 28 Nov 2006 11:06:12 -0600 [thread overview]
Message-ID: <456C6C84.8010003@orkun.us> (raw)
In-Reply-To: <200611281241.34583.sr@denx.de>
Stefan Roese wrote:
> Hi Rui,
>
> On Monday 27 November 2006 23:44, Rui Sousa wrote:
>
>> What I did in our local U-boot version was(*):
>>
>> 1. Add a cfi_ prefix to flash functions in drivers/cfi_flash.c:
>> flash_init --> cfi_flash_init
>> flash_erase --> cfi_flash_erase
>> write_buff--> cfi_write_buff
>> ...
>>
>> 2. Change flash base address table, in drivers/cfi_flash.c also:
>> flash_info_t flash_info --> extern flash_info_t flash_info
>>
>> 3. Create in our board specific directory a flash.c file with all the flash
>> interface functions and the declaration of flash_info:
>> flash_info_t flash_info[CFG_MAX_FLASH_BANKS];
>> flash_init()
>> flash_erase()
>> write_buff()
>>
>
> Hmmm. When I understood Tolunay correctly (Tolunay, please correct me if I am
> wrong here), he _does_ want to use most of the CFI drivers functions like
> erasing and programming for those non CFI compatible FLASH's too. Most of
> those devices are kind of AMD compatible, so this should be possible with not
> too many changes.
>
Yes, that is the plan. I did not have time to work on it yet but I will
send a patch this week.
Best regards,
Tolunay
prev parent reply other threads:[~2006-11-28 17:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-23 13:42 [U-Boot-Users] Can U-boot support CFI and None CFI devices on the same board Yotam Admon
2006-11-27 22:44 ` Rui Sousa
2006-11-28 11:41 ` Stefan Roese
2006-11-28 13:32 ` Rui Sousa
2006-11-28 15:39 ` Andrew Dyer
2006-11-28 17:06 ` Tolunay Orkun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=456C6C84.8010003@orkun.us \
--to=listmember@orkun.us \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox