Re: [U-Boot] [PATCH 02/15] MPC85xx: Fix MURAM size for MPC8569

2009-06-11 Thread Kumar Gala

On May 20, 2009, at 11:30 AM, Haiying Wang wrote:

 MPC8569 has 128K bytes MURAM.

 Signed-off-by: Haiying Wang haiying.w...@freescale.com
 ---
 include/asm-ppc/immap_qe.h |9 +++--
 1 files changed, 7 insertions(+), 2 deletions(-)

applied

- k
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 02/15] MPC85xx: Fix MURAM size for MPC8569

2009-05-20 Thread Haiying Wang
MPC8569 has 128K bytes MURAM.

Signed-off-by: Haiying Wang haiying.w...@freescale.com
---
 include/asm-ppc/immap_qe.h |9 +++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/include/asm-ppc/immap_qe.h b/include/asm-ppc/immap_qe.h
index 66a4735..55667ca 100644
--- a/include/asm-ppc/immap_qe.h
+++ b/include/asm-ppc/immap_qe.h
@@ -582,9 +582,12 @@ typedef struct qe_immap {
u8 res14[0x300];
u8 res15[0x3A00];
u8 res16[0x8000];   /* 0x108000 -  0x11 */
-#if defined(CONFIG_MPC8568)||defined(CONFIG_MPC8569)
+#if defined(CONFIG_MPC8568)
u8 muram[0x1];  /* 0x1_ -  0x2_ Multi-user RAM */
u8 res17[0x2];  /* 0x2_ -  0x4_ */
+#elif defined(CONFIG_MPC8569)
+   u8 muram[0x2];  /* 0x1_ -  0x3_ Multi-user RAM */
+   u8 res17[0x1];  /* 0x3_ -  0x4_ */
 #else
u8 muram[0xC000];   /* 0x11 -  0x11C000 Multi-user RAM */
u8 res17[0x24000];  /* 0x11C000 -  0x14 */
@@ -594,8 +597,10 @@ typedef struct qe_immap {
 
 extern qe_map_t *qe_immr;
 
-#if defined(CONFIG_MPC8568) || defined(CONFIG_MPC8569)
+#if defined(CONFIG_MPC8568)
 #define QE_MURAM_SIZE  0x1UL
+#elif defined(CONFIG_MPC8569)
+#define QE_MURAM_SIZE  0x2UL
 #elif defined(CONFIG_MPC8360)
 #define QE_MURAM_SIZE  0xc000UL
 #elif defined(CONFIG_MPC832X)
-- 
1.6.0.2

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot