All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] cmd_mtdparts: Move to common handling of FLASH devices via MTD layer
Date: Tue, 12 May 2009 13:37:36 +0200	[thread overview]
Message-ID: <200905121337.36409.sr@denx.de> (raw)
In-Reply-To: <20090511180054.35EBB832E416@gemini.denx.de>

Hi Wolfgang,

On Monday 11 May 2009 20:00:54 Wolfgang Denk wrote:
> > This patch removes all references to the direct CFI FLASH interface
> > (via flash_info[]). Now that all FLASH types currently handled in
> > mtdparts are available (if selected, see below) via the MTD
> > infrastructure. This is NOR, NAND and OneNAND right now. This can be
> > achieved by defining the following options:
>
> What is the code size impact for each of these boards?

Here a few examples:

Boards with NAND:

omap3_beagle:	~5k increase

Boards with NOR :

TQM5200:	~7k increase

I have to admit that this is more than I expected. After thinking a bit more 
it came to my mind that I don't need to add mtdcore.o and mtdpart.o for those 
boards. mtdcore is sufficient and mtdpart is only needed for UBI support right 
now. So I only enabled mtdcore creation for those boards and here are the new 
results:

omap3_beagle:	~800 bytes increase
TQM5200:	~2k increase

This looks much better.

I'll wrap up another patch with this new structuring shortly and perhaps I'll 
create a branch in my u-boot-cfi-flash repository for all those MTD 
infrastructure changes so that users and board maintainers can easier test 
those changes.

Thanks.

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-05-12 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 14:13 [U-Boot] [PATCH] cmd_mtdparts: Move to common handling of FLASH devices via MTD layer Stefan Roese
2009-05-11 18:00 ` Wolfgang Denk
2009-05-12 11:37   ` Stefan Roese [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=200905121337.36409.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.