public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] LPC2468 support
Date: Tue, 28 Apr 2009 08:27:45 +0200	[thread overview]
Message-ID: <200904280827.45894.sr@denx.de> (raw)
In-Reply-To: <20090427232020.103F383420E8@gemini.denx.de>

Hi Wolfgang,

On Tuesday 28 April 2009, Wolfgang Denk wrote:
> > I took a quick look at the flash "driver". The main functions
> > lpc24xx_flash_erase() and lpc24xx_write_buff() are not even referenced
> > somewhere in this patch. They seem to be used in the 2nd patch (2/2)
> > though. It's hard to really understand what's going on here. So this
> > flash driver part really needs some sort of documentation how it's
> > supposed to work.
> >
> > And I also think this driver (as all FLASH related drivers) should be
> > moved into drivers/mtd instead.
>
> Into drivers/mtd? Even if it's not a  MTD driver? This doesn't make
> mnuch sense to me.

In the end this driver will be used by the common FLASH user interface 
(cmd_flash.c, cmd_mem.c). So I prefer to have the "driver" for this interface 
in a common place for a better overview. And the only common place I can 
think of is drivers/mtd right now. We should probably add a subdirectory for 
NOR flash drivers: drivers/mtd/nor (or drivers/mtd/maps as done in Linux).

BTW: This common place will prevent those multiple platform/board specific 
flash drivers we have right now as well.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2009-04-28  6:27 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-18 13:13 [U-Boot] [PATCH 1/1] LPC2468 support Remco Poelstra
2009-03-18 13:58 ` Wolfgang Denk
2009-03-18 14:54   ` [U-Boot] [PATCH 1/2] " Remco Poelstra
2009-03-18 16:46     ` Wolfgang Denk
2009-03-19 15:06       ` Remco Poelstra
2009-03-19 21:22         ` Wolfgang Denk
2009-03-24 11:05           ` Remco Poelstra
2009-03-24 22:33             ` Wolfgang Denk
2009-03-25  8:29               ` Remco Poelstra
2009-03-25  9:47                 ` Wolfgang Denk
2009-03-25 10:06                   ` Remco Poelstra
2009-03-25 21:51                     ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-26  9:03                       ` Remco Poelstra
2009-04-24 11:57                         ` Remco Poelstra
2009-04-24 12:55                           ` Wolfgang Denk
2009-04-28  9:14                             ` Remco Poelstra
2009-04-28 16:43                               ` Ben Warren
2009-04-24 21:58                           ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-24 22:14                             ` Wolfgang Denk
2009-04-25 12:47                               ` Jean-Christophe PLAGNIOL-VILLARD
2009-04-27  7:27                                 ` Stefan Roese
2009-04-27 23:20                                   ` Wolfgang Denk
2009-04-28  6:27                                     ` Stefan Roese [this message]
2009-04-28  6:46                                       ` Wolfgang Denk
2009-04-28  7:08                                         ` Stefan Roese
2009-03-25 21:43                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-26  9:10                   ` Remco Poelstra
2009-03-26  9:27                     ` Remco Poelstra
2009-03-18 14:56   ` [U-Boot] [PATCH 2/2] LPC2468 example board Remco Poelstra
2009-03-25 22:01     ` Jean-Christophe PLAGNIOL-VILLARD
2009-03-26  9:11       ` Remco Poelstra
2009-04-28 13:54         ` Remco Poelstra
2009-07-17 22:18           ` Wolfgang Denk
2009-07-18 16:16           ` Jean-Christophe PLAGNIOL-VILLARD

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=200904280827.45894.sr@denx.de \
    --to=sr@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