diff mbox

[U-Boot] powerpc/85xx: Add T4160RDB board support

Message ID 1399431378-16924-1-git-send-email-Chunhe.Lan@freescale.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Chunhe Lan May 7, 2014, 2:56 a.m. UTC
T4160RDB shares the same platform as T4240RDB. T4160 is
a low power version of T4240, with the eight e6500 cores,
two DDR3 controllers, and same peripheral bus interfaces.

Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
---
 boards.cfg                 |    1 +
 include/configs/T4240RDB.h |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)

Comments

York Sun May 20, 2014, 3:36 p.m. UTC | #1
On 05/06/2014 07:56 PM, Chunhe Lan wrote:
> T4160RDB shares the same platform as T4240RDB. T4160 is
> a low power version of T4240, with the eight e6500 cores,
> two DDR3 controllers, and same peripheral bus interfaces.
> 
> Signed-off-by: Chunhe Lan <Chunhe.Lan@freescale.com>
> ---


Applied to u-boot-mpc85xx/master.

York
diff mbox

Patch

diff --git a/boards.cfg b/boards.cfg
index 3ac45b2..a8ea91e 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -963,6 +963,7 @@  Active  powerpc     mpc85xx        -           freescale       t4qds
 Active  powerpc     mpc85xx        -           freescale       t4qds               T4240QDS_SDCARD                      T4240QDS:PPC_T4240,RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000                                                                    -
 Active  powerpc     mpc85xx        -           freescale       t4qds               T4240QDS_SPIFLASH                    T4240QDS:PPC_T4240,RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF40000                                                                  -
 Active  powerpc     mpc85xx        -           freescale       t4qds               T4240QDS_SRIO_PCIE_BOOT              T4240QDS:PPC_T4240,SRIO_PCIE_BOOT_SLAVE,SYS_TEXT_BASE=0xFFF40000                                                                  -
+Active  powerpc     mpc85xx        -           freescale       t4rdb               T4160RDB                             T4240RDB:PPC_T4160                                                                                                                Chunhe Lan <Chunhe.Lan@freescale.com>
 Active  powerpc     mpc85xx        -           freescale       t4rdb               T4240RDB                             T4240RDB:PPC_T4240                                                                                                                Chunhe Lan <Chunhe.Lan@freescale.com>
 Active  powerpc     mpc85xx        -           gdsys           p1022               controlcenterd_36BIT_SDCARD          controlcenterd:36BIT,SDCARD                                                                                                       Dirk Eibach <eibach@gdsys.de>
 Active  powerpc     mpc85xx        -           gdsys           p1022               controlcenterd_36BIT_SDCARD_DEVELOP  controlcenterd:36BIT,SDCARD,DEVELOP                                                                                               Dirk Eibach <eibach@gdsys.de>
diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h
index 1bb083a..f14e710 100644
--- a/include/configs/T4240RDB.h
+++ b/include/configs/T4240RDB.h
@@ -678,7 +678,11 @@  unsigned long get_board_ddr_clk(void);
  * interleaving. It can be cacheline, page, bank, superbank.
  * See doc/README.fsl-ddr for details.
  */
+#ifdef CONFIG_PPC_T4240
 #define CTRL_INTLV_PREFERED 3way_4KB
+#else
+#define CTRL_INTLV_PREFERED cacheline
+#endif
 
 #define	CONFIG_EXTRA_ENV_SETTINGS				\
 	"hwconfig=fsl_ddr:"					\