All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niklaus Giger <niklaus.giger@member.fsf.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] bootvx: Cleanup & improvements
Date: Mon, 03 Nov 2008 19:59:50 +0100	[thread overview]
Message-ID: <genhn6$6su$1@ger.gmane.org> (raw)
In-Reply-To: 20081103120605.GD10086@game.jcrosoft.org

Jean-Christophe PLAGNIOL-VILLARD wrote:

> On 10:54 Mon 03 Nov     , Niklaus Giger wrote:
>> The following improvements are made:
>> - document bootvx in README
>> - fix size too small by one in sprintf
>> - changed old (pre 2004) device name ibmEmac to emac
>> - boot device may be overriden in board config
>> - servername may be defined in board config
>> - additional parameters may be defined in board config
>> - fixed some line wrappings
>> - changed netstal-common.h to use the new settings
> Could you split your patch a smallest changeset?
How many changeset do you want? Is it sufficient to make two by just isolating the changes in netstal-common.h?
<,,.>
>> +#ifndef CONFIG_SYS_VXWORKS_BOOT_DEVICE
>>  #if defined(CONFIG_4xx)
>> -		sprintf (build_buf, "ibmEmac(0,0)");
>> +#define		CONFIG_SYS_VXWORKS_BOOT_DEVICE "emac(0,0)"
>> +#elif defined(CONFIG_IOP480)
>> +#define		CONFIG_SYS_VXWORKS_BOOT_DEVICE "dc(0,0)"
>> +#else
>> +#define		CONFIG_SYS_VXWORKS_BOOT_DEVICE "eth(0,0)"
>> +#endif
>> +#endif
> could we move thie define to an header?
Which header shall I use? Is common.h right?

Mmm. Looking at common.h I found that there max is defined with the same meaning as in cmd_elf.h. Probably worth a fix too.

Best regards

Niklaus

  reply	other threads:[~2008-11-03 18:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03  9:54 [U-Boot] [PATCH] bootvx: Cleanup & improvements Niklaus Giger
2008-11-03 12:06 ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-03 18:59   ` Niklaus Giger [this message]
2008-11-03 19:43     ` Jean-Christophe PLAGNIOL-VILLARD
2008-11-03 20:17     ` 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='genhn6$6su$1@ger.gmane.org' \
    --to=niklaus.giger@member.fsf.org \
    --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.