public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH 4/5] OneNAND support
Date: Mon, 10 Sep 2007 09:08:50 +0200	[thread overview]
Message-ID: <20070910070850.EB277247CE@gemini.denx.de> (raw)
In-Reply-To: Your message of "Mon, 10 Sep 2007 10:19:43 +0900." <002601c7f348$ae36a480$e1ac580a@swcenter.sec.samsung.co.kr>

In message <002601c7f348$ae36a480$e1ac580a@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."

  reply	other threads:[~2007-09-10  7:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-07  1:01 [U-Boot-Users] [PATCH 4/5] OneNAND support Kyungmin Park
2007-09-08 23:05 ` Wolfgang Denk
2007-09-10  1:19   ` Kyungmin Park
2007-09-10  7:08     ` Wolfgang Denk [this message]
2007-09-10  7:28       ` Kyungmin Park
2007-09-10 18:44         ` Wolfgang Denk

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=20070910070850.EB277247CE@gemini.denx.de \
    --to=wd@denx.de \
    --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