* [U-Boot] [PATCH 22/31] mpc83xx, kmeter1, mtd: set the default partition table
@ 2009-01-28 9:40 Heiko Schocher
2009-01-28 20:30 ` Wolfgang Denk
2009-01-29 2:10 ` Kim Phillips
0 siblings, 2 replies; 4+ messages in thread
From: Heiko Schocher @ 2009-01-28 9:40 UTC (permalink / raw)
To: u-boot
Signed-off-by: Heiko Schocher <hs@denx.de>
---
include/configs/kmeter1.h | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
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" \
""
--
1.6.0.6
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 22/31] mpc83xx, kmeter1, mtd: set the default partition table
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
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2009-01-28 20:30 UTC (permalink / raw)
To: u-boot
Dear Heiko Schocher,
In message <49802808.4050501@denx.de> you wrote:
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> ---
> include/configs/kmeter1.h | 9 +++++++++
> 1 files changed, 9 insertions(+), 0 deletions(-)
>
> 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)")
Indentation by TAB, please.
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
A girl with a future avoids the man with a past.
-- Evan Esar, "The Humor of Humor"
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 22/31] mpc83xx, kmeter1, mtd: set the default partition table
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
1 sibling, 1 reply; 4+ messages in thread
From: Kim Phillips @ 2009-01-29 2:10 UTC (permalink / raw)
To: u-boot
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?
Kim
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 22/31] mpc83xx, kmeter1, mtd: set the default partition table
2009-01-29 2:10 ` Kim Phillips
@ 2009-01-29 9:11 ` Heiko Schocher
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Schocher @ 2009-01-29 9:11 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-01-29 9:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox