Skip to contentSkip to conversation

mpc85xx/T4240EMU: Remove T4240EMU board

PATCH New York Sun 2 participants 4 messages Apr 21, 2015 – May 6, 2015 PowerPC

lore
Share & tools
lore

York Sun

author
#0 lore raw

PATCH 1/1 mpc85xx/T4240EMU: Remove T4240EMU board

T4240 SoC has been available for a long time. Emulator support is no longer needed.

---
 arch/powerpc/cpu/mpc85xx/Kconfig  |    3 -
 board/freescale/t4qds/Kconfig     |   13 ---
 board/freescale/t4qds/MAINTAINERS |    6 --
 board/freescale/t4qds/Makefile    |    1 -
 board/freescale/t4qds/ddr.h       |   26 ------
 configs/T4240EMU_defconfig        |    4 -
 include/configs/T4240EMU.h        |  181 -------------------------------------
 7 files changed, 234 deletions(-)
 delete mode 100644 configs/T4240EMU_defconfig
 delete mode 100644 include/configs/T4240EMU.h
arch/powerpc/cpu/mpc85xx/Kconfig +0 -3
index adb5bd3..696f227 100644
@@ -122,9 +122,6 @@ config TARGET_T208XRDB
 	bool "Support T208xRDB"
 	select SUPPORT_SPL
 
-config TARGET_T4240EMU
-	bool "Support T4240EMU"
-
 config TARGET_T4240QDS
 	bool "Support T4240QDS"
 	select SUPPORT_SPL
board/freescale/t4qds/Kconfig +0 -13
index ab34b9e..27a64b6 100644
@@ -1,16 +1,3 @@
-if TARGET_T4240EMU
-
-config SYS_BOARD
-	default "t4qds"
-
-config SYS_VENDOR
-	default "freescale"
-
-config SYS_CONFIG_NAME
-	default "T4240EMU"
-
-endif
-
 if TARGET_T4240QDS
 
 config SYS_BOARD
board/freescale/t4qds/MAINTAINERS +0 -6
index f88ee7d..fd340f3 100644
@@ -18,9 +18,3 @@ M:	Aneesh Bansal <[email protected]>
 S:	Maintained
 F:	configs/T4160QDS_SECURE_BOOT_defconfig
 F:	configs/T4240QDS_SECURE_BOOT_defconfig
-
-T4240EMU BOARD
-M:	York Sun <[email protected]>
-S:	Maintained
-F:	include/configs/T4240EMU.h
-F:	configs/T4240EMU_defconfig
board/freescale/t4qds/Makefile +0 -1
index 4e8e5cb..bd2c1f1 100644
@@ -8,7 +8,6 @@ ifdef CONFIG_SPL_BUILD
 obj-y += spl.o
 else
 obj-$(CONFIG_T4240QDS) += t4240qds.o
-obj-$(CONFIG_T4240EMU) += t4240emu.o
 obj-$(CONFIG_T4240QDS)+= eth.o
 obj-$(CONFIG_PCI)	+= pci.o
 endif
board/freescale/t4qds/ddr.h +0 -26
index 8183af7..4d0e3c4 100644
@@ -25,7 +25,6 @@ struct board_specific_parameters {
  * for each n_ranks group.
  */
 
-#ifdef CONFIG_T4240QDS
 static const struct board_specific_parameters udimm0[] = {
 	/*
 	 * memory controller 0
@@ -63,31 +62,6 @@ static const struct board_specific_parameters rdimm0[] = {
 	{}
 };
 
-#else	/* CONFIG_T4240EMU */
-static const struct board_specific_parameters udimm0[] = {
-	/*
-	 * memory controller 0
-	 *   num|  hi| rank|  clk| wrlvl |   wrlvl   |  wrlvl | cpo  |wrdata|2T
-	 * ranks| mhz| GB  |adjst| start |   ctl2    |  ctl3  |      |delay |
-	 */
-	{2,  2140, 0, 4,     8, 0x0, 0x0,   0xff,    2,  0},
-	{1,  2140, 0, 4,     8, 0x0, 0x0,   0xff,    2,  0},
-	{}
-};
-
-static const struct board_specific_parameters rdimm0[] = {
-	/*
-	 * memory controller 0
-	 *   num|  hi| rank|  clk| wrlvl |   wrlvl   |  wrlvl | cpo  |wrdata|2T
-	 * ranks| mhz| GB  |adjst| start |   ctl2    |  ctl3  |      |delay |
-	 */
-	{4,  2140, 0, 5,     8, 0x0, 0x0,   0xff,    2,  0},
-	{2,  2140, 0, 5,     8, 0x0, 0x0,   0xff,    2,  0},
-	{1,  2140, 0, 4,     8, 0x0, 0x0,   0xff,    2,  0},
-	{}
-};
-#endif	/* CONFIG_T4240EMU */
-
 /*
  * The three slots have slightly different timing. The center values are good
  * for all slots. We use identical speed tables for them. In future use, if
configs/T4240EMU_defconfig deleted +0 -4
deleted file mode 100644
index e95151b..0000000
@@ -1,4 +0,0 @@
-CONFIG_SYS_EXTRA_OPTIONS="PPC_T4240"
-CONFIG_PPC=y
-CONFIG_MPC85xx=y
-CONFIG_TARGET_T4240EMU=y
include/configs/T4240EMU.h deleted +0 -181

181 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 1/1 mpc85xx/T4240EMU: Remove T4240EMU board

Quoted 5 lines · York Sun

T4240 SoC has been available for a long time. Emulator support is no longer needed.

---

Applied to u-boot-mpc85xx master. Awaiting upstream.

York

#2 lore raw

PATCH 1/1 mpc85xx/T4240EMU: Remove T4240EMU board

Quoted 8 lines · York Sun
Quoted 5 lines · York Sun

T4240 SoC has been available for a long time. Emulator support is no longer needed.

---

Applied to u-boot-mpc85xx master. Awaiting upstream.

I wonder if such emulator support is generally usable for custom made boards using T4240? If so I think you should leave in u-boot, possibly adjust it so it is usable for other boards too.

Jocke

author
#3 lore raw

PATCH 1/1 mpc85xx/T4240EMU: Remove T4240EMU board

Quoted 5 lines · Joakim Tjernlund
Quoted 4 lines · York Sun
Quoted 3 lines · York Sun

T4240 SoC has been available for a long time. Emulator support is no longer needed.

Quoted 9 lines
Quoted 4 lines
Quoted 2 lines

---

Applied to u-boot-mpc85xx master. Awaiting upstream.

I wonder if such emulator support is generally usable for custom made boards using T4240? If so I think you should leave in u-boot, possibly adjust it so it is usable for other boards too.

Jocke,

Emulator "board" is highly customized to fit the capacity of such emulator platform. This board was added to support early adopters with Freescale support. After rev2 SoC was released, such support was dropped and no effort has been made to continue supporting emulator model.

Customers are welcome to use T4240QDS as a reference design. It is a fraction of the cost of an emulator system, and it runs thousands times faster.

Given the availability of emulator model, QDS board (and RDB board) and the performance, I believe there is no user of T4240EMU board.

York