public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib	common files, add NAND support
Date: Tue, 07 Oct 2008 12:59:05 -0500	[thread overview]
Message-ID: <48EBA369.9080702@freescale.com> (raw)
In-Reply-To: <48EBA29B.7070602@googlemail.com>

Dirk Behme wrote:
>> Otherwise, either add something to the MTD API that the nand command can
>> call, or have your own board-specific command defined in the board file. 
>> Don't put platform-specific ifdefs in generic files.
> 
> Do you have any example how to extend MTD API

You'd need to add callbacks in the device structures; since this is a 
workaround for legacy support, and not something that is desireable in 
most cases, I'd go with the latter option of a board-specific command.

> and/or can link to 
> example where board-specific command is already used?

grep -rI U_BOOT_CMD board/

-Scott

      reply	other threads:[~2008-10-07 17:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 10:40 [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support dirk.behme at googlemail.com
2008-10-03 16:52 ` Scott Wood
2008-10-03 17:08   ` Dirk Behme
2008-10-07  9:42   ` Dirk Behme
2008-10-07 11:25     ` Nishanth Menon
2008-10-07 17:30       ` Scott Wood
2008-10-07 17:45         ` Menon, Nishanth
2008-10-07 17:47           ` Scott Wood
2008-10-07 17:56         ` Dirk Behme
2008-10-07 20:47           ` Dirk Behme
2008-10-07 17:26     ` Scott Wood
2008-10-07 17:55       ` Dirk Behme
2008-10-07 17:59         ` Scott Wood [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=48EBA369.9080702@freescale.com \
    --to=scottwood@freescale.com \
    --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