From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 22/31] mpc83xx, kmeter1, mtd: set the default partition table
Date: Thu, 29 Jan 2009 10:11:10 +0100 [thread overview]
Message-ID: <498172AE.8090200@denx.de> (raw)
In-Reply-To: <20090128201055.a02b7c57.kim.phillips@freescale.com>
Hello Kim,
Kim Phillips wrote:
> On Wed, 28 Jan 2009 10:40:24 +0100
> Heiko Schocher <hs@denx.de> wrote:
>
>> diff --git a/include/configs/kmeter1.h b/include/configs/kmeter1.h
>> index d66ba8b..feb6150 100644
>> --- a/include/configs/kmeter1.h
>> +++ b/include/configs/kmeter1.h
>> @@ -322,6 +322,11 @@
>> #define CONFIG_SYS_DTT_BUS_NUM (2)
>> #define CONFIG_SYS_DTT_BOARD_INIT 1
>>
>> +#define MTDIDS_DEFAULT "nor0=app"
>> +#define MTDPARTS_DEFAULT ( \
>> + "mtdparts=app:256k(u-boot),128k(env),128k(envred)," \
>> + "1536k(esw0),8704k(rootfs0),1536k(esw1),2432k(rootfs1),640k(var),768k(cfg)")
>> +
>> #if defined(CONFIG_PCI)
>> #define CONFIG_CMD_PCI
>> #endif
>> @@ -448,6 +453,10 @@
>> "ramdisk_addr_r=F10000\0" \
>> "EEprom_ivm=pca9547:70:9\0" \
>> "DTT_bus=pca9547:70:a\0" \
>> + "mtdids=nor0=app \0" \
>> + "mtdparts=mtdparts=app:256k(u-boot),128k(env),128k(envred)," \
>> + "1536k(esw0),8704k(rootfs0),1536k(esw1)," \
>> + "2432k(rootfs1),640k(var),768k(cfg)\0" \
>> ""
>
> instead of repeating strings, can we employ xstr here?
Ok.
thanks
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
prev parent reply other threads:[~2009-01-29 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-28 9:40 [U-Boot] [PATCH 22/31] mpc83xx, kmeter1, mtd: set the default partition table Heiko Schocher
2009-01-28 20:30 ` Wolfgang Denk
2009-01-29 2:10 ` Kim Phillips
2009-01-29 9:11 ` Heiko Schocher [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=498172AE.8090200@denx.de \
--to=hs@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