[U-Boot-Users] AMD MirrorBit FLASH Support?
Brad Kemp
Brad.Kemp at Seranoa.com
Thu May 1 17:43:52 CEST 2003
Tien
After looking closer at your application, you will need to add support
for 64 bits flash. Search the code for FLASH_CFI_32BIT.
It is mostly used in case statements. Add the appropriate code for
FLASH_CFI_64BIT. There is one loop that loop you will need to change
The FLASH_CFI_32BIT to FLASH_CFI_64BIT.
Also the cfiword_t and cfiptr_t unions will need the addition of long
longs.
Brad
> -----Original Message-----
> From: Nghiem, Tien [mailto:TNghiem at oerlikon.ca]
> Sent: Wednesday, April 30, 2003 6:08 PM
> To: Brad Kemp
> Cc: u-boot-users at lists.sourceforge.net
> Subject: RE: [U-Boot-Users] AMD MirrorBit FLASH Support?
>
>
> Hi Brad,
>
> I have a custom board MPC8260 that uses the flash width 64
> bits with 4 chips (28F640J3) as it describes in the
> application note Intel 292263-002. Do you think that I can
> use the flash driver ppmc8260/strataflash.c directly without
> modification?
>
> Thank you
>
> Tien Nghiem
>
> -----Original Message-----
> From: Brad Kemp [mailto:Brad.Kemp at Seranoa.com]
> Sent: Friday, April 25, 2003 11:01 AM
> To: tguilliams at sbs.com; Frederic Soulier
> Cc: u-boot-users at lists.sourceforge.net
> Subject: RE: [U-Boot-Users] AMD MirrorBit FLASH Support?
>
>
> There is CFI support for the Intel command set in
> ppmc8260/strataflash.c
> and esd/cpic440/strataflash.c.
> This driver correctly sizes the flash width and number of chips.
> What is missing is an abstraction to support multiple command sets.
> Brad
>
>
> > -----Original Message-----
> > From: Tom Guilliams [mailto:tguilliams at sbs.com]
> > Sent: Thursday, April 24, 2003 4:38 PM
> > To: Frederic Soulier
> > Cc: u-boot-users at lists.sourceforge.net
> > Subject: Re: [U-Boot-Users] AMD MirrorBit FLASH Support?
> >
> >
> >
> > Thanks for the reply Frederic.
> >
> > On Tue, 2003-04-22 at 01:12, Frederic Soulier wrote:
> > > If you want full support for Mirrorbit flashes in U-Boot,
> > you have simply to
> > > code the write buffering feature.
> > > I do not use this, so standard AMD/Fujitsu/ST code is
> > working fine for me.
> > >
> >
> > We're finding a bit more to it than that. The algorithms for
> > operations
> > on the MirrorBit have changed a bit from other AMD chips. Some
> > operations rely upon toggle bits, different command
> definitions. The
> > "correct" error-checking is what's really effected. I was
> porting the
> > StrataFlash driver for the PPMC8260 board because we have
> > some versions
> > of our board with StrataFlash and some AMD MirrorBit as well as the
> > driver implements the CFI interface.
> >
> > My plan is to have a strataflash/mirrorbit driver with
> buffer writing
> > support. I just need to finish it up and submit it to
> > Wolfgang. As our
> > board support grows, I'm adding upon this driver for other chipset
> > support. At some point, it would be nice to have a flash
> driver with
> > CFI for all chips that support it.
> >
> > Tom
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
> >
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
More information about the U-Boot
mailing list