[U-Boot-Users] [PATCH 4/5] OneNAND support
Wolfgang Denk
wd at denx.de
Mon Sep 10 09:08:50 CEST 2007
In message <002601c7f348$ae36a480$e1ac580a at swcenter.sec.samsung.co.kr> you wrote:
>
> > > +static int check_short_pattern(uint8_t * buf, int len, int paglen,
...
> > > + /* Compare the pattern */
> > > + for (i = 0; i < td->len; i++) {
> > > + if (p[i] != td->pattern[i])
> > > + return -1;
> > > + }
...
> > This should probably be replaced by a call to memmem() ?
...
> > > +static inline int onenand_memory_bbt(struct mtd_info *mtd,
...
> This BBT code is not yet implemented.
> It's only scan the full blocks at boot time and display the bad blocks.
>
> It's also next time work.
I see. OK.
What about using memmem() above?
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Quote from a recent meeting: "We are going to continue having these
meetings everyday until I find out why no work is getting done."
More information about the U-Boot
mailing list