public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 1/5] 83xx: nand support for MPC837XRDB boards
@ 2008-03-24 14:40 Anton Vorontsov
  2008-03-25  1:09 ` Kim Phillips
  0 siblings, 1 reply; 2+ messages in thread
From: Anton Vorontsov @ 2008-03-24 14:40 UTC (permalink / raw)
  To: u-boot


Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---

Rebased on top of today's u-boot-mpc83xx.

 include/configs/MPC837XERDB.h |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/include/configs/MPC837XERDB.h b/include/configs/MPC837XERDB.h
index 0d79aae..e3cb3c7 100644
--- a/include/configs/MPC837XERDB.h
+++ b/include/configs/MPC837XERDB.h
@@ -275,6 +275,25 @@
 #define CFG_FLASH_ERASE_TOUT	60000	/* Flash Erase Timeout (ms) */
 #define CFG_FLASH_WRITE_TOUT	500	/* Flash Write Timeout (ms) */
 
+/*
+ * NAND Flash on the Local Bus
+ */
+#define CFG_NAND_BASE		0xE0600000	/* 0xE0600000 */
+#define CFG_BR1_PRELIM		(CFG_NAND_BASE | \
+				 (2 << BR_DECC_SHIFT) |	/* Use HW ECC */ \
+				 BR_PS_8 |		/* Port Size = 8 bit */ \
+				 BR_MS_FCM |		/* MSEL = FCM */ \
+				 BR_V)			/* valid */
+#define CFG_OR1_PRELIM		(0xFFFF8000 |		/* length 32K */ \
+				 OR_FCM_CSCT | \
+				 OR_FCM_CST | \
+				 OR_FCM_CHT | \
+				 OR_FCM_SCY_1 | \
+				 OR_FCM_TRLX | \
+				 OR_FCM_EHTR)
+#define CFG_LBLAWBAR1_PRELIM	CFG_NAND_BASE
+#define CFG_LBLAWAR1_PRELIM	0x8000000E	/* 32KB  */
+
 /* Vitesse 7385 */
 
 #define CFG_VSC7385_BASE	0xF0000000
-- 
1.5.2.2

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

* [U-Boot-Users] [PATCH 1/5] 83xx: nand support for MPC837XRDB boards
  2008-03-24 14:40 [U-Boot-Users] [PATCH 1/5] 83xx: nand support for MPC837XRDB boards Anton Vorontsov
@ 2008-03-25  1:09 ` Kim Phillips
  0 siblings, 0 replies; 2+ messages in thread
From: Kim Phillips @ 2008-03-25  1:09 UTC (permalink / raw)
  To: u-boot

On Mon, 24 Mar 2008 17:40:23 +0300
Anton Vorontsov <avorontsov@ru.mvista.com> wrote:

> 
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> 
> Rebased on top of today's u-boot-mpc83xx.
> 
>  include/configs/MPC837XERDB.h |   19 +++++++++++++++++++
>  1 files changed, 19 insertions(+), 0 deletions(-)

applied 1-5, thanks.

Kim

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

end of thread, other threads:[~2008-03-25  1:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-24 14:40 [U-Boot-Users] [PATCH 1/5] 83xx: nand support for MPC837XRDB boards Anton Vorontsov
2008-03-25  1:09 ` Kim Phillips

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