From: Kumar Gala <galak@kernel.crashing.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] powerpc/corenet_ds: Various updates to initial env cfg
Date: Thu, 30 Sep 2010 09:11:44 -0500 [thread overview]
Message-ID: <1285855905-7186-3-git-send-email-galak@kernel.crashing.org> (raw)
In-Reply-To: <1285855905-7186-2-git-send-email-galak@kernel.crashing.org>
From: Emil Medve <Emilian.Medve@freescale.com>
* Make the U-Boot update command sequence conditional. Helps prevent
accidental erasing if an upload or previous step fails
* Make it easier to update other FLASH banks
* Enable DDR controller cache line interleaving and bank cs0/cs1 by default
Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
include/configs/corenet_ds.h | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/include/configs/corenet_ds.h b/include/configs/corenet_ds.h
index d223a4d..6486869 100644
--- a/include/configs/corenet_ds.h
+++ b/include/configs/corenet_ds.h
@@ -607,14 +607,17 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_EXTRA_ENV_SETTINGS \
+ "hwconfig=fsl_ddr:ctlr_intlv=cacheline," \
+ "bank_intlv=cs0_cs1\0" \
"netdev=eth0\0" \
"uboot=" MK_STR(CONFIG_UBOOTPATH) "\0" \
- "tftpflash=tftpboot $loadaddr $uboot; " \
- "protect off " MK_STR(TEXT_BASE) " +$filesize; " \
- "erase " MK_STR(TEXT_BASE) " +$filesize; " \
- "cp.b $loadaddr " MK_STR(TEXT_BASE) " $filesize; " \
- "protect on " MK_STR(TEXT_BASE) " +$filesize; " \
- "cmp.b $loadaddr " MK_STR(TEXT_BASE) " $filesize\0" \
+ "ubootaddr=" MK_STR(TEXT_BASE) "\0" \
+ "tftpflash=tftpboot $loadaddr $uboot && " \
+ "protect off $ubootaddr +$filesize && " \
+ "erase $ubootaddr +$filesize && " \
+ "cp.b $loadaddr $ubootaddr $filesize && " \
+ "protect on $ubootaddr +$filesize && " \
+ "cmp.b $loadaddr $ubootaddr $filesize\0" \
"consoledev=ttyS0\0" \
"ramdiskaddr=2000000\0" \
"ramdiskfile=p4080ds/ramdisk.uboot\0" \
--
1.7.2.3
next prev parent reply other threads:[~2010-09-30 14:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-30 14:11 [U-Boot] [PATCH] powerpc/85xx: Add support for 4th PCI controller on corenet_ds Kumar Gala
2010-09-30 14:11 ` [U-Boot] [PATCH] powerpc/85xx: fix rev.2 job queue LIODN error storm Kumar Gala
2010-09-30 14:11 ` Kumar Gala [this message]
2010-09-30 14:11 ` [U-Boot] [PATCH] powerpc/p4080: Add new CPC register - HDBCR0 Kumar Gala
2010-10-07 14:55 ` Kumar Gala
2010-10-07 14:57 ` [U-Boot] [PATCH] powerpc/corenet_ds: Various updates to initial env cfg Kumar Gala
2010-10-07 14:57 ` [U-Boot] [PATCH] powerpc/85xx: fix rev.2 job queue LIODN error storm Kumar Gala
2010-10-07 14:57 ` [U-Boot] [PATCH] powerpc/85xx: Add support for 4th PCI controller on corenet_ds Kumar Gala
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=1285855905-7186-3-git-send-email-galak@kernel.crashing.org \
--to=galak@kernel.crashing.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox