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] simplify bootm command
Date: Tue, 05 Aug 2008 16:08:43 +0200	[thread overview]
Message-ID: <20080805140843.1004D24885@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 05 Aug 2008 09:36:33 EDT." <48985761.5010800@ge.com>

In message <48985761.5010800@ge.com> you wrote:
> 
> Yes, that is Wolfgang's (and my) proposal: rationalize the built-in 
> "bootm" to do just #6.  Steps 1-5 already exist as built-in commands or 
> commands could be created almost trivially to invoke the existing code. 
>   The current "bootm" behavior would then be emulated by a bootm script 
> chaining them together.  All the different "bootm" behaviors would then 
> be in the script (customizable by the user) rather than being 
> hard-compiled into the actual bootm built-in command.

I just would like to point out that this is also a great chance to get
rid of a lot of architecture dependent code:

	lib_arm/bootm.c
	lib_avr32/bootm.c
	lib_blackfin/bootm.c
	lib_i386/bootm.c
	lib_m68k/bootm.c
	lib_microblaze/bootm.c
	lib_mips/bootm.c
	lib_nios/bootm.c
	lib_nios2/bootm.c
	lib_ppc/bootm.c
	lib_sh/bootm.c
	lib_sparc/bootm.c

There is a LOT of duplicated code in these files...


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
"What the scientists have in their briefcases is terrifying."
- Nikita Khrushchev

  parent reply	other threads:[~2008-08-05 14:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-05  3:51 [U-Boot-Users] simplify bootm command Kumar Gala
2008-08-05 10:02 ` Jerry Van Baren
2008-08-05 10:19   ` Wolfgang Denk
2008-08-05 10:38     ` Jerry Van Baren
2008-08-05 11:05       ` Wolfgang Denk
2008-08-05 11:16         ` Albert ARIBAUD
2008-08-05 13:01           ` Wolfgang Denk
2008-08-05 13:45             ` Albert ARIBAUD
2008-08-05 12:15         ` Jerry Van Baren
2008-08-05 13:59           ` Detlev Zundel
2008-08-05 12:56     ` Kumar Gala
2008-08-05 13:36       ` Jerry Van Baren
2008-08-05 13:59         ` Kumar Gala
2008-08-05 14:08         ` Wolfgang Denk [this message]
2008-08-05 14:32           ` [U-Boot-Users] simplify bootm command -- deprecated or removing functionality? Kumar Gala
2008-08-05 14:45             ` Wolfgang Denk
2008-08-05 14:48               ` Kumar Gala
2008-08-05 15:05         ` [U-Boot-Users] simplify bootm command Kumar Gala
2008-08-05 16:11           ` Jerry Van Baren
2008-08-05 16:27             ` Kumar Gala

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=20080805140843.1004D24885@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