public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Prabhakar Kushwaha <prabhakar@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/2][v2] powerpc/85xx:Add PSC9131 RDB Support
Date: Mon, 12 Mar 2012 14:17:09 +0530	[thread overview]
Message-ID: <4F5DB80D.5000900@freescale.com> (raw)
In-Reply-To: <20120307121103.CA1AE202C7F@gemini.denx.de>

Hi Wolfgang,

On Wednesday 07 March 2012 05:41 PM, Wolfgang Denk wrote:
> Dear Prabhakar Kushwaha,
>
> In message<4F56FC6D.8080401@freescale.com>  you wrote:
>>>> +#define CONFIG_ADDR_STREAMING		/* toggle addr streaming */
>>> What is this good for?
>>>
>>> It is undocumented, and there is no code that uses it.
>> This #define is no more in used. I just copy pasted from P1010RDB.h and
>> P1_P2_RDB.h.
>> i will remove it.
> It would be nice if you could provide an additional cleanup patch that
> removes the stale #define from the other files as well.

Sure. I will try..

>>>> +#define CONFIG_HOSTNAME		PSC9131rdb
>>>> +#define CONFIG_ROOTPATH		"/opt/nfsroot"
>>>> +#define CONFIG_BOOTFILE		"uImage"
>>>> +#define CONFIG_UBOOTPATH	u-boot.bin /* U-Boot image on TFTP server */
>>>> +
>>>> +#define CONFIG_BAUDRATE		115200
>>>> +
>>>> +#define	CONFIG_EXTRA_ENV_SETTINGS				\
>>>> +	"netdev=eth0\0"						\
>>>> +	"uboot=" MK_STR(CONFIG_UBOOTPATH) "\0"				\
>>> Why didn't you follow my change request here?  Define as "u-boot.bin"
>>> so it is at least consistent with the other strings, and drop the
>>> MK_STR here.
>>>
>>> ...
>> The requirement is to use u-boot.bin instead of CONFIG_UBOOTPATH?
>> is my understanding correct?
> No.  Use
>
> 	#define CONFIG_UBOOTPATH	"u-boot.bin"	/* U-Boot image on TFTP server */
>
> so that you can then use
>
> 	#define   CONFIG_EXTRA_ENV_SETTINGS \
> 		"netdev=eth0\0" \
> 		"uboot=" CONFIG_UBOOTPATH "\0" \
> 		...
>
> without the use of MK_STR(), and all string defines are done in a
> consistent way.

Got it :)


I will provide the updated version asap.

Thanks,
Prabhakar

      reply	other threads:[~2012-03-12  8:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 11:19 [U-Boot] [PATCH 2/2][v2] powerpc/85xx:Add PSC9131 RDB Support Prabhakar Kushwaha
2012-03-06 15:11 ` Wolfgang Denk
2012-03-07  6:13   ` Prabhakar Kushwaha
2012-03-07 12:11     ` Wolfgang Denk
2012-03-12  8:47       ` Prabhakar Kushwaha [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=4F5DB80D.5000900@freescale.com \
    --to=prabhakar@freescale.com \
    --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