public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd
@ 2009-07-27  5:42 Stefan Roese
  2009-07-28  5:23 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2009-07-27  5:42 UTC (permalink / raw)
  To: u-boot

This patch adds some I2C bootstrap setting for NAND booting to the Kilauea
chip_config command ("533-nand" and "600-nand").

Additionally some incorrectly indented lines are fixed.

Signed-off-by: Stefan Roese <sr@denx.de>
---
 board/amcc/kilauea/chip_config.c |   24 ++++++++++++++++++++----
 1 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/board/amcc/kilauea/chip_config.c b/board/amcc/kilauea/chip_config.c
index 9a3fc15..919ec7f 100644
--- a/board/amcc/kilauea/chip_config.c
+++ b/board/amcc/kilauea/chip_config.c
@@ -25,6 +25,8 @@
 #include <common.h>
 #include <asm/ppc4xx_config.h>
 
+/* NAND booting versions differ in bytes: 6, 8, 9, 11, 12 */
+
 struct ppc4xx_config ppc4xx_config_val[] = {
 	{
 		"333-nor","NOR  CPU: 333 PLB: 166 OPB:  83 EBC:  83",
@@ -49,10 +51,17 @@ struct ppc4xx_config ppc4xx_config_val[] = {
 	},
 	{
 		"533-nor", "NOR  CPU: 533 PLB: 177 OPB:  88 EBC:  88",
-	  {
-		  0x8e, 0x43, 0x60, 0x13, 0x98, 0x00, 0x0a, 0x00,
-		  0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
-	  }
+		{
+			0x8e, 0x43, 0x60, 0x13, 0x98, 0x00, 0x0a, 0x00,
+			0x40, 0x08, 0x23, 0x50, 0x00, 0x05, 0x00, 0x00
+		}
+	},
+	{
+		"533-nand", "NOR  CPU: 533 PLB: 177 OPB:  88 EBC:  88",
+		{
+			0x8e, 0x43, 0x60, 0x13, 0x98, 0x00, 0x0f, 0x00,
+			0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
+		}
 	},
 	{
 		"600-nor", "NOR  CPU: 600 PLB: 200 OPB: 100 EBC: 100",
@@ -62,6 +71,13 @@ struct ppc4xx_config ppc4xx_config_val[] = {
 		}
 	},
 	{
+		"600-nand", "NOR  CPU: 600 PLB: 200 OPB: 100 EBC: 100",
+		{
+			0x8d, 0x02, 0x34, 0x13, 0x98, 0x00, 0x0f, 0x00,
+			0xa0, 0x68, 0x23, 0x58, 0x0d, 0x05, 0x00, 0x00
+		}
+	},
+	{
 		"666-nor", "NOR  CPU: 666 PLB: 222 OPB: 111 EBC: 111",
 		{
 			0x8d, 0x03, 0x78, 0x13, 0x98, 0x00, 0x0a, 0x00,
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd
  2009-07-27  5:42 [U-Boot] [PATCH] ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd Stefan Roese
@ 2009-07-28  5:23 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2009-07-28  5:23 UTC (permalink / raw)
  To: u-boot

On Monday 27 July 2009 07:42:48 Stefan Roese wrote:
> This patch adds some I2C bootstrap setting for NAND booting to the Kilauea
> chip_config command ("533-nand" and "600-nand").
>
> Additionally some incorrectly indented lines are fixed.
>
> Signed-off-by: Stefan Roese <sr@denx.de>

Applied to ppc4xx/master. Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-28  5:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27  5:42 [U-Boot] [PATCH] ppc4xx: Add some NAND-booting bootstrap entries to Kilauea chip_config cmd Stefan Roese
2009-07-28  5:23 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox