All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] bootm: Move to using a function pointer table for the boot os function
Date: Mon, 20 Oct 2008 09:28:36 +0200	[thread overview]
Message-ID: <20081020072836.2C017835697A@gemini.denx.de> (raw)
In-Reply-To: <6FA5D356-5762-4185-BD0C-1CE3BDEDE2D9@kernel.crashing.org>

Dear Kumar Gala,

In message <6FA5D356-5762-4185-BD0C-1CE3BDEDE2D9@kernel.crashing.org> you wrote:
> 
> >> This removes a bit of code and makes it easier for the upcoming sub  
> >> bootm
> >> command support to call into the proper OS specific handler.
> >>
> >> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> >> ---
...
> >> @@ -119,6 +119,22 @@ int do_bootelf (cmd_tbl_t *cmdtp, int flag,  
> >> int argc, char *argv[]);
> >> static boot_os_fn do_bootm_integrity;
> >> #endif
> >>
> >> +boot_os_fn * boot_os[] = {
> >> +	[IH_OS_LINUX] = do_bootm_linux,
> >> +	[IH_OS_NETBSD] = do_bootm_netbsd,
> > why not add config to ative or not netbsd, linux and rterms to  
> > reduce U-Boot
> > size?
> 
> ative?
> 
> that would be an orthogonal change.

One that we should implement, I think.

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
Drawing on my fine command of language, I said nothing.

  reply	other threads:[~2008-10-20  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-19 18:07 [U-Boot] [PATCH v2] bootm: Move to using a function pointer table for the boot os function Kumar Gala
2008-10-19 18:44 ` Jean-Christophe PLAGNIOL-VILLARD
2008-10-19 22:46   ` Kumar Gala
2008-10-20  7:28     ` Wolfgang Denk [this message]
2008-10-20 13:14       ` Kumar Gala
2008-10-21 19:22         ` 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=20081020072836.2C017835697A@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 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.