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 4/4] s5pc1xx: add support SMDKC100 board
Date: Fri, 04 Sep 2009 13:25:09 +0200	[thread overview]
Message-ID: <20090904112509.41230832E8DE@gemini.denx.de> (raw)
In-Reply-To: <9c9fda240909040409u576a7149kd4a4666148bfafa7@mail.gmail.com>

Dear Kyungmin Park,

In message <9c9fda240909040409u576a7149kd4a4666148bfafa7@mail.gmail.com> you wrote:
>
> >> +++ b/board/samsung/smdkc100/mem_setup.S
> >
> > Why is this all written in assembly code?
> >
> > Cannot we use C instead?
> 
> Since it is used at OneNAND IPL. It has size limitation.

So what?  Do you think that equivalent C code would be inherently
bigger? I am not so sure about that.

...
> >> +/***********************************************************
> >> + * Command definition
> >> + ***********************************************************/
> >> +#include <config_cmd_default.h>
> >> +
> >> +#undef CONFIG_CMD_LOADB
> >> +#undef CONFIG_CMD_LOADS
> >> +#undef CONFIG_CMD_BOOTD
> >> +#undef CONFIG_CMD_FPGA
> >> +#undef CONFIG_CMD_XIMG
> >> +#undef CONFIG_CMD_NAND
> >> +#undef CONFIG_CMD_IMLS
> >> +#undef CONFIG_CMD_FLASH
> >> +#undef CONFIG_CMD_IMLS
> >> +#undef CONFIG_CMD_NET
> >
> > Is there any specific reason for disabling these commands? Some of
> > these are extremely useful to the end user?
> 
> Since now we only tested on OneNAND. If someone or who want to use
> these feature just remove it at that time.

This makes no sense to me. Download commands like loadb and lods,
information commands like imls and network commands are completrely
independent of where you boot from.

It may make sense to diaable netwoirk support if you hav enot tested
it yet, but disabling all the othe rdefault features makes zero sense
to me. Please don't. Disable only things that really cannot be used.


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
The human race is a race of cowards; and I am not  only  marching  in
that procession but carrying a banner.                   - Mark Twain

  reply	other threads:[~2009-09-04 11:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-04  8:22 [U-Boot] [PATCH 4/4] s5pc1xx: add support SMDKC100 board Minkyu Kang
2009-09-04 10:56 ` Wolfgang Denk
2009-09-04 11:09   ` Kyungmin Park
2009-09-04 11:25     ` Wolfgang Denk [this message]
2009-09-04 14:47   ` Minkyu Kang
2009-09-04 15:04     ` Wolfgang Denk
2009-09-04 22:39 ` Jean-Christophe PLAGNIOL-VILLARD
2009-09-08  1:46   ` Minkyu Kang

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=20090904112509.41230832E8DE@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.