[U-Boot] [PATCH] powerpc/t104xrdb, t1040qds : Update FMAN microcode NOR address

Priyanka Jain Priyanka.Jain at freescale.com
Wed Feb 5 07:12:51 CET 2014


FMAN microcode image address range on NOR flash changed from
(0xeff00000 to 0xebf1ffff) to (0xeff10000 to 0xeff1ffff)

The change has been done
- to support FMAN microcode flashing via promjet mechanism as
 promjet uses address based on offsets. Based on this
 address of FMAN microcode flash on promjet flash should be 0x0
 But 0x0 offset is already use for rcw on promjet flash.
 To take care of  this limitation FMAN microcode address has been
 changed. Now, FMAN microcode address on promjet flash is 0x10000

- FMAN microcode is of size 64KB so it will fit into
 0xeff10000 to 0xeff1ffff.

Signed-off-by: Poonam Aggrwal <poonam.aggrwal at freescale.com>
Signed-off-by: Vijay Rai <vijay.rai at freescale.com>
Signed-off-by: Priyanka Jain <Priyanka.Jain at freescale.com>
---
 board/freescale/t1040qds/README |    4 ++--
 board/freescale/t104xrdb/README |    4 ++--
 include/configs/T1040QDS.h      |    2 +-
 include/configs/T1040RDB.h      |    2 +-
 include/configs/T1042RDB_PI.h   |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/board/freescale/t1040qds/README b/board/freescale/t1040qds/README
index 8160ca0..a2e2300 100644
--- a/board/freescale/t1040qds/README
+++ b/board/freescale/t1040qds/README
@@ -120,14 +120,14 @@ NOR Flash memory Map on T1040QDS
  Start          End             Definition                       Size
 0xEFF40000      0xEFFFFFFF      u-boot (current bank)            768KB
 0xEFF20000      0xEFF3FFFF      u-boot env (current bank)        128KB
-0xEFF00000      0xEFF1FFFF      FMAN Ucode (current bank)        128KB
+0xEFF10000      0xEFF1FFFF      FMAN Ucode (current bank)        64KB
 0xED300000      0xEFEFFFFF      rootfs (alt bank)                44MB
 0xEC800000      0xEC8FFFFF      Hardware device tree (alt bank)  1MB
 0xEC020000      0xEC7FFFFF      Linux.uImage (alt bank)          7MB + 875KB
 0xEC000000      0xEC01FFFF      RCW (alt bank)                   128KB
 0xEBF40000      0xEBFFFFFF      u-boot (alt bank)                768KB
 0xEBF20000      0xEBF3FFFF      u-boot env (alt bank)            128KB
-0xEBF00000      0xEBF1FFFF      FMAN ucode (alt bank)            128KB
+0xEBF10000      0xEBF1FFFF      FMAN ucode (alt bank)            64KB
 0xE9300000      0xEBEFFFFF      rootfs (current bank)            44MB
 0xE8800000      0xE88FFFFF      Hardware device tree (cur bank)  11MB + 512KB
 0xE8020000      0xE86FFFFF      Linux.uImage (current bank)      7MB + 875KB
diff --git a/board/freescale/t104xrdb/README b/board/freescale/t104xrdb/README
index 1da52bb..ae68135 100644
--- a/board/freescale/t104xrdb/README
+++ b/board/freescale/t104xrdb/README
@@ -163,14 +163,14 @@ NOR Flash memory Map
  Start          End             Definition                       Size
 0xEFF40000      0xEFFFFFFF      u-boot (current bank)            768KB
 0xEFF20000      0xEFF3FFFF      u-boot env (current bank)        128KB
-0xEFF00000      0xEFF1FFFF      FMAN Ucode (current bank)        128KB
+0xEFF10000      0xEFF1FFFF      FMAN Ucode (current bank)        64KB
 0xED300000      0xEFEFFFFF      rootfs (alt bank)                44MB
 0xEC800000      0xEC8FFFFF      Hardware device tree (alt bank)  1MB
 0xEC020000      0xEC7FFFFF      Linux.uImage (alt bank)          7MB + 875KB
 0xEC000000      0xEC01FFFF      RCW (alt bank)                   128KB
 0xEBF40000      0xEBFFFFFF      u-boot (alt bank)                768KB
 0xEBF20000      0xEBF3FFFF      u-boot env (alt bank)            128KB
-0xEBF00000      0xEBF1FFFF      FMAN ucode (alt bank)            128KB
+0xEBF10000      0xEBF1FFFF      FMAN ucode (alt bank)            64KB
 0xE9300000      0xEBEFFFFF      rootfs (current bank)            44MB
 0xE8800000      0xE88FFFFF      Hardware device tree (cur bank)  11MB + 512KB
 0xE8020000      0xE86FFFFF      Linux.uImage (current bank)      7MB + 875KB
diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h
index 75ea125..15e1f51a 100644
--- a/include/configs/T1040QDS.h
+++ b/include/configs/T1040QDS.h
@@ -592,7 +592,7 @@ unsigned long get_board_ddr_clk(void);
 #define CONFIG_SYS_QE_FMAN_FW_ADDR	(8 * CONFIG_SYS_NAND_BLOCK_SIZE)
 #else
 #define CONFIG_SYS_QE_FMAN_FW_IN_NOR
-#define CONFIG_SYS_QE_FMAN_FW_ADDR		0xEFF00000
+#define CONFIG_SYS_QE_FMAN_FW_ADDR		0xEFF10000
 #endif
 #define CONFIG_SYS_QE_FMAN_FW_LENGTH	0x10000
 #define CONFIG_SYS_FDT_PAD		(0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
diff --git a/include/configs/T1040RDB.h b/include/configs/T1040RDB.h
index 7cfda50..f38857a 100644
--- a/include/configs/T1040RDB.h
+++ b/include/configs/T1040RDB.h
@@ -531,7 +531,7 @@
 #define CONFIG_SYS_QE_FMAN_FW_ADDR	(4 * CONFIG_SYS_NAND_BLOCK_SIZE)
 #else
 #define CONFIG_SYS_QE_FMAN_FW_IN_NOR
-#define CONFIG_SYS_QE_FMAN_FW_ADDR		0xEFF00000
+#define CONFIG_SYS_QE_FMAN_FW_ADDR		0xEFF10000
 #endif
 #define CONFIG_SYS_QE_FMAN_FW_LENGTH	0x10000
 #define CONFIG_SYS_FDT_PAD		(0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
diff --git a/include/configs/T1042RDB_PI.h b/include/configs/T1042RDB_PI.h
index ed9ca8a..d59901a 100644
--- a/include/configs/T1042RDB_PI.h
+++ b/include/configs/T1042RDB_PI.h
@@ -539,7 +539,7 @@
 #define CONFIG_SYS_QE_FMAN_FW_ADDR	(4 * CONFIG_SYS_NAND_BLOCK_SIZE)
 #else
 #define CONFIG_SYS_QE_FMAN_FW_IN_NOR
-#define CONFIG_SYS_QE_FMAN_FW_ADDR		0xEFF00000
+#define CONFIG_SYS_QE_FMAN_FW_ADDR		0xEFF10000
 #endif
 #define CONFIG_SYS_QE_FMAN_FW_LENGTH	0x10000
 #define CONFIG_SYS_FDT_PAD		(0x3000 + CONFIG_SYS_QE_FMAN_FW_LENGTH)
-- 
1.7.4.1





More information about the U-Boot mailing list