Skip to contentSkip to conversation

powerpc/t1023rdb: Add T1023 RDB board support

PATCH Superseded Shengzhou Liu 3 participants 7 messages Mar 27, 2015 – May 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

T1023RDB board Overview
-----------------------
- T1023 SoC integrating two 64-bit e5500 cores up to 1.4GHz
- CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation
- Memory: 2GB Micron MT40A512M8HX unbuffered 32-bit fixed DDR4 without ECC
- Accelerator: DPAA components consist of FMan, BMan, QMan, DCE and SEC
- Ethernet interfaces:
- one 1G RGMII port on-board(RTL8211F PHY)
- one 1G SGMII port on-board(RTL8211F PHY)
- one 2.5G SGMII port on-board(AQR105 PHY)
- PCIe: Two Mini-PCIe connectors on-board.
- SerDes: 4 lanes up to 10.3125GHz
- NOR: 128MB S29GL01GS110TFIV10 Spansion NOR Flash
- NAND: 512MB S34MS04G200BFI000 Spansion NAND Flash
- eSPI: 64MB S25FL512SAGMFI010 Spansion SPI flash.
- USB: one Type-A USB 2.0 port with internal PHY
- eSDHC: support SD/MMC card and eMMC on-board
- 256Kbit M24256 I2C EEPROM
- RTC: Real-time clock DS1339 on I2C bus
- UART: one serial port on-board with RJ45 connector
- Debugging: JTAG/COP for T1023 debugging

As well updated T1024RDB to add T1023RDB.

---
v4: squashed ddr patch to this one.
v3: updated readme.
v2: updated the printout of serdes refclk.

 board/freescale/t102xrdb/MAINTAINERS    |  5 ++
 board/freescale/t102xrdb/Makefile       |  2 +-
 board/freescale/t102xrdb/README         | 97 ++++++++++++++++++++++++++-------
 board/freescale/t102xrdb/ddr.c          | 78 +++++++++++++++++++++++++-
 board/freescale/t102xrdb/eth_t102xrdb.c | 27 ++++++++-
 board/freescale/t102xrdb/t1023_rcw.cfg  |  8 +++
 board/freescale/t102xrdb/t102xrdb.c     | 93 ++++++++++++++++++++++++++++++-
 board/freescale/t102xrdb/t102xrdb.h     |  4 +-
 configs/T1023RDB_NAND_defconfig         |  5 ++
 configs/T1023RDB_SDCARD_defconfig       |  5 ++
 configs/T1023RDB_SECURE_BOOT_defconfig  |  4 ++
 configs/T1023RDB_SPIFLASH_defconfig     |  5 ++
 configs/T1023RDB_defconfig              |  4 ++
 configs/T1024RDB_NAND_defconfig         |  2 +-
 configs/T1024RDB_SDCARD_defconfig       |  2 +-
 configs/T1024RDB_SECURE_BOOT_defconfig  |  2 +-
 configs/T1024RDB_SPIFLASH_defconfig     |  2 +-
 configs/T1024RDB_defconfig              |  2 +-
 include/configs/T102xRDB.h              | 79 +++++++++++++++++++++++----
 19 files changed, 382 insertions(+), 44 deletions(-)
 create mode 100644 board/freescale/t102xrdb/t1023_rcw.cfg
 create mode 100644 configs/T1023RDB_NAND_defconfig
 create mode 100644 configs/T1023RDB_SDCARD_defconfig
 create mode 100644 configs/T1023RDB_SECURE_BOOT_defconfig
 create mode 100644 configs/T1023RDB_SPIFLASH_defconfig
 create mode 100644 configs/T1023RDB_defconfig
board/freescale/t102xrdb/MAINTAINERS +5 -0
index dc554d4..297e63a 100644
@@ -8,3 +8,8 @@ F:	configs/T1024RDB_NAND_defconfig
 F:	configs/T1024RDB_SDCARD_defconfig
 F:	configs/T1024RDB_SPIFLASH_defconfig
 F:	configs/T1024RDB_SECURE_BOOT_defconfig
+F:	configs/T1023RDB_defconfig
+F:	configs/T1023RDB_NAND_defconfig
+F:	configs/T1023RDB_SDCARD_defconfig
+F:	configs/T1023RDB_SPIFLASH_defconfig
+F:	configs/T1023RDB_SECURE_BOOT_defconfig
board/freescale/t102xrdb/Makefile +1 -1
index a0cf8f6..0520066 100644
@@ -8,7 +8,7 @@ ifdef CONFIG_SPL_BUILD
 obj-y += spl.o
 else
 obj-y   += t102xrdb.o
-obj-y   += cpld.o
+obj-$(CONFIG_T1024RDB)   += cpld.o
 obj-y   += eth_t102xrdb.o
 obj-$(CONFIG_PCI)       += pci.o
 endif
board/freescale/t102xrdb/README +78 -19

160 lines not on this page · raw message

board/freescale/t102xrdb/ddr.c +77 -1

93 lines not on this page · raw message

board/freescale/t102xrdb/eth_t102xrdb.c +24 -3
index f611ff0..dd386bc 100644
@@ -1,6 +1,8 @@
 /*
  * Copyright 2014 Freescale Semiconductor, Inc.
  *
+ * Shengzhou Liu <[email protected]>
+ *
  * SPDX-License-Identifier:     GPL-2.0+
  */
 
@@ -56,6 +58,7 @@ int board_eth_init(bd_t *bis)
 	fm_info_set_phy_address(FM1_DTSEC4, RGMII_PHY1_ADDR);
 
 	switch (srds_s1) {
+#ifdef CONFIG_T1024RDB
 	case 0x95:
 		/* set the on-board RGMII2  PHY */
 		fm_info_set_phy_address(FM1_DTSEC3, RGMII_PHY2_ADDR);
@@ -63,10 +66,17 @@ int board_eth_init(bd_t *bis)
 		/* set 10G XFI with Aquantia AQR105 PHY */
 		fm_info_set_phy_address(FM1_10GEC1, FM1_10GEC1_PHY_ADDR);
 		break;
+#endif
+	case 0x6a:
+	case 0x6b:
 	case 0x77:
 	case 0x135:
 		/* set the on-board 2.5G SGMII AQR105 PHY */
-		fm_info_set_phy_address(FM1_DTSEC3, SGMII_PHY1_ADDR);
+		fm_info_set_phy_address(FM1_DTSEC3, SGMII_AQR_PHY_ADDR);
+#ifdef CONFIG_T1023RDB
+		/* set the on-board 1G SGMII RTL8211F PHY */
+		fm_info_set_phy_address(FM1_DTSEC1, SGMII_RTK_PHY_ADDR);
+#endif
 		break;
 	default:
 		printf("SerDes protocol 0x%x is not supported on T102xRDB\n",
@@ -81,6 +91,14 @@ int board_eth_init(bd_t *bis)
 			dev = miiphy_get_dev_by_name(DEFAULT_FM_MDIO_NAME);
 			fm_info_set_mdio(i, dev);
 			break;
+		case PHY_INTERFACE_MODE_SGMII:
+#if defined(CONFIG_T1023RDB)
+			dev = miiphy_get_dev_by_name(DEFAULT_FM_MDIO_NAME);
+#elif defined(CONFIG_T1024RDB)
+			dev = miiphy_get_dev_by_name(DEFAULT_FM_TGEC_MDIO_NAME);
+#endif
+			fm_info_set_mdio(i, dev);
+			break;
 		case PHY_INTERFACE_MODE_SGMII_2500:
 			dev = miiphy_get_dev_by_name(DEFAULT_FM_TGEC_MDIO_NAME);
 			fm_info_set_mdio(i, dev);
@@ -110,13 +128,16 @@ int board_eth_init(bd_t *bis)
 void board_ft_fman_fixup_port(void *fdt, char *compat, phys_addr_t addr,
 			      enum fm_port port, int offset)
 {
-	if ((fm_info_get_enet_if(port) == PHY_INTERFACE_MODE_SGMII_2500) &&
-	    (port == FM1_DTSEC3)) {
+#if defined(CONFIG_T1024RDB)
+	if (((fm_info_get_enet_if(port) == PHY_INTERFACE_MODE_SGMII_2500) ||
+	     (fm_info_get_enet_if(port) == PHY_INTERFACE_MODE_SGMII)) &&
+			(port == FM1_DTSEC3)) {
 		fdt_set_phy_handle(fdt, compat, addr, "sg_2500_aqr105_phy4");
 		fdt_setprop(fdt, offset, "phy-connection-type",
 			    "sgmii-2500", 10);
 		fdt_status_disabled_by_alias(fdt, "xg_aqr105_phy3");
 	}
+#endif
 }
 
 void fdt_fixup_board_enet(void *fdt)
board/freescale/t102xrdb/t1023_rcw.cfg new file +8 -0
new file mode 100644
index 0000000..fa781d6
@@ -0,0 +1,8 @@
+#PBL preamble and RCW header for T1023RDB
+aa55aa55 010e0100
+#SerDes Protocol: 0x77
+#Core/DDR: 1400Mhz/1600MT/s with single source clock
+0810000e 00000000 00000000 00000000
+3b800003 00000012 e8104000 21000000
+00000000 00000000 00000000 00020800
+00000130 04020200 00000000 00000006
board/freescale/t102xrdb/t102xrdb.c +90 -3

148 lines not on this page · raw message

board/freescale/t102xrdb/t102xrdb.h +3 -1
index 2f23579..3f5d85a 100644
@@ -9,5 +9,7 @@
 
 void fdt_fixup_board_enet(void *blob);
 void pci_of_setup(void *blob, bd_t *bd);
-
+#ifdef CONFIG_T1023RDB
+static u32 t1023rdb_gpio_ctrl(u32 ctrl_type);
+#endif
 #endif
configs/T1023RDB_NAND_defconfig new file +5 -0
new file mode 100644
index 0000000..23c2f03
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y
configs/T1023RDB_SDCARD_defconfig new file +5 -0
new file mode 100644
index 0000000..cc374ea
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y
configs/T1023RDB_SECURE_BOOT_defconfig new file +4 -0
new file mode 100644
index 0000000..c2e2d7e
@@ -0,0 +1,4 @@
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,SECURE_BOOT"
+CONFIG_PPC=y
+CONFIG_MPC85xx=y
+CONFIG_TARGET_T102XRDB=y
configs/T1023RDB_SPIFLASH_defconfig new file +5 -0
new file mode 100644
index 0000000..e0b7116
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y
configs/T1023RDB_defconfig new file +4 -0
new file mode 100644
index 0000000..a839925
@@ -0,0 +1,4 @@
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB"
+CONFIG_PPC=y
+CONFIG_MPC85xx=y
+CONFIG_TARGET_T102XRDB=y
configs/T1024RDB_NAND_defconfig +1 -1
index 73d14ab..8fd569a 100644
@@ -1,5 +1,5 @@
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
 +S:CONFIG_PPC=y
 +S:CONFIG_MPC85xx=y
 +S:CONFIG_TARGET_T102XRDB=y
configs/T1024RDB_SDCARD_defconfig +1 -1
index 3599f1d..e617df5 100644
@@ -1,5 +1,5 @@
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,RAMBOOT_PBL,SPL_FSL_PBL,SDCARD"
 +S:CONFIG_PPC=y
 +S:CONFIG_MPC85xx=y
 +S:CONFIG_TARGET_T102XRDB=y
configs/T1024RDB_SECURE_BOOT_defconfig +1 -1
index 8377260..be01417 100644
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,SECURE_BOOT"
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,SECURE_BOOT"
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_T102XRDB=y
configs/T1024RDB_SPIFLASH_defconfig +1 -1
index c8ea985..b752e70 100644
@@ -1,5 +1,5 @@
 CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB,RAMBOOT_PBL,SPL_FSL_PBL,SPIFLASH"
 +S:CONFIG_PPC=y
 +S:CONFIG_MPC85xx=y
 +S:CONFIG_TARGET_T102XRDB=y
configs/T1024RDB_defconfig +1 -1
index e19e404..c22b3ed 100644
@@ -1,4 +1,4 @@
-CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024"
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1024,T1024RDB"
 CONFIG_PPC=y
 CONFIG_MPC85xx=y
 CONFIG_TARGET_T102XRDB=y
include/configs/T102xRDB.h +68 -11

216 lines not on this page · raw message

Signature · 1 line
2.1.0.27.g96db324
#1 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

Quoted 33 lines · Shengzhou Liu

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

T1023RDB board Overview
-----------------------
- T1023 SoC integrating two 64-bit e5500 cores up to 1.4GHz
- CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation
- Memory: 2GB Micron MT40A512M8HX unbuffered 32-bit fixed DDR4 without ECC
- Accelerator: DPAA components consist of FMan, BMan, QMan, DCE and SEC
- Ethernet interfaces:
- one 1G RGMII port on-board(RTL8211F PHY)
- one 1G SGMII port on-board(RTL8211F PHY)
- one 2.5G SGMII port on-board(AQR105 PHY)
- PCIe: Two Mini-PCIe connectors on-board.
- SerDes: 4 lanes up to 10.3125GHz
- NOR: 128MB S29GL01GS110TFIV10 Spansion NOR Flash
- NAND: 512MB S34MS04G200BFI000 Spansion NAND Flash
- eSPI: 64MB S25FL512SAGMFI010 Spansion SPI flash.
- USB: one Type-A USB 2.0 port with internal PHY
- eSDHC: support SD/MMC card and eMMC on-board
- 256Kbit M24256 I2C EEPROM
- RTC: Real-time clock DS1339 on I2C bus
- UART: one serial port on-board with RJ45 connector
- Debugging: JTAG/COP for T1023 debugging

As well updated T1024RDB to add T1023RDB.

---
v4: squashed ddr patch to this one.
v3: updated readme.
v2: updated the printout of serdes refclk.

<snip>

configs/T1023RDB_NAND_defconfig line 5

Quoted 11 lines
configs/T1023RDB_NAND_defconfig new file +5 -0
new file mode 100644
index 0000000..23c2f03
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y

Please do not use CONFIG_SYS_EXTRA_OPTIONS for new boards.

York

#2 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

Quoted 20 lines

-----Original Message-----
From: Sun York-R58495
Sent: Friday, April 17, 2015 3:22 AM
To: Liu Shengzhou-B36685; u-boot at lists.denx.de
Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

configs/T1023RDB_NAND_defconfig line 5

Quoted 9 lines · Shengzhou Liu

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

+++ b/configs/T1023RDB_NAND_defconfig

configs/T1023RDB_NAND_defconfig new file +5 -0
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y

Please do not use CONFIG_SYS_EXTRA_OPTIONS for new boards.

Quoted 1 line

York

I noted "config SYS_EXTRA_OPTIONS string "Extra Options (DEPRECATED)" in Kconfig. But we still have to use the CONFIG_SYS_EXTRA_OPTIONS in current configuration Infrastructure, unless a newer approach is available in future.

Because there are some something like 'SPL_FSL_PBL', 'NAND', 'SPIFLASH''SDCARD' which must be defined dynamically during build u-boot for various boot-mode in those *_defconfig files instead of in static include/config.h

Shengzhou

#3 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

+Masahiro Yamada

Quoted 22 lines · On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote:
Quoted 20 lines

-----Original Message-----
From: Sun York-R58495
Sent: Friday, April 17, 2015 3:22 AM
To: Liu Shengzhou-B36685; u-boot at lists.denx.de
Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

configs/T1023RDB_NAND_defconfig line 5

Quoted 9 lines · Shengzhou Liu

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

+++ b/configs/T1023RDB_NAND_defconfig

configs/T1023RDB_NAND_defconfig new file +5 -0
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y

Please do not use CONFIG_SYS_EXTRA_OPTIONS for new boards.

Quoted 1 line

York

Quoted 7 lines

I noted "config SYS_EXTRA_OPTIONS string "Extra Options (DEPRECATED)" in Kconfig. But we still have to use the CONFIG_SYS_EXTRA_OPTIONS in current configuration Infrastructure, unless a newer approach is available in future.

Because there are some something like 'SPL_FSL_PBL', 'NAND', 'SPIFLASH''SDCARD' which must be defined dynamically during build u-boot for various boot-mode in those *_defconfig files instead of in static include/config.h

I was thinking to use "select" in Kconfig. But as you said, there are some macros not standardized. Maybe it is too early to enforce that. Let's hear from Masahiro.

York

#4 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

In reply to Shengzhou.Liu at freescale.com

Resend with corrected email address.

+Masahiro Yamada

Quoted 22 lines · On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote:
Quoted 20 lines

-----Original Message-----
From: Sun York-R58495
Sent: Friday, April 17, 2015 3:22 AM
To: Liu Shengzhou-B36685; u-boot at lists.denx.de
Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

configs/T1023RDB_NAND_defconfig line 5

Quoted 9 lines · Shengzhou Liu

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

+++ b/configs/T1023RDB_NAND_defconfig

configs/T1023RDB_NAND_defconfig new file +5 -0
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y

Please do not use CONFIG_SYS_EXTRA_OPTIONS for new boards.

Quoted 1 line

York

Quoted 7 lines

I noted "config SYS_EXTRA_OPTIONS string "Extra Options (DEPRECATED)" in Kconfig. But we still have to use the CONFIG_SYS_EXTRA_OPTIONS in current configuration Infrastructure, unless a newer approach is available in future.

Because there are some something like 'SPL_FSL_PBL', 'NAND', 'SPIFLASH''SDCARD' which must be defined dynamically during build u-boot for various boot-mode in those *_defconfig files instead of in static include/config.h

I was thinking to use "select" in Kconfig. But as you said, there are some macros not standardized. Maybe it is too early to enforce that. Let's hear from Masahiro Yamada.

York

#5 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

Hi.

Sorry for my late reply.

2015-04-24 0:38 GMT+09:00 York Sun <[email protected]>:

Quoted 31 lines

Resend with corrected email address.

+Masahiro Yamada

Quoted 26 lines · On 04/23/2015 01:27 AM, Liu Shengzhou-B36685 wrote:
Quoted 20 lines

-----Original Message-----
From: Sun York-R58495
Sent: Friday, April 17, 2015 3:22 AM
To: Liu Shengzhou-B36685; u-boot at lists.denx.de
Subject: Re: [PATCH v4] powerpc/t1023rdb: Add T1023 RDB board support

configs/T1023RDB_NAND_defconfig line 5

Quoted 9 lines · Shengzhou Liu

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

+++ b/configs/T1023RDB_NAND_defconfig

configs/T1023RDB_NAND_defconfig new file +5 -0
@@ -0,0 +1,5 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1023,T1023RDB,RAMBOOT_PBL,SPL_FSL_PBL,NAND"
++S:CONFIG_PPC=y
++S:CONFIG_MPC85xx=y
++S:CONFIG_TARGET_T102XRDB=y

Please do not use CONFIG_SYS_EXTRA_OPTIONS for new boards.

Quoted 1 line

York

I noted "config SYS_EXTRA_OPTIONS string "Extra Options (DEPRECATED)" in Kconfig. But we still have to use the CONFIG_SYS_EXTRA_OPTIONS in current configuration Infrastructure, unless a newer approach is available in future.

Quoted 8 lines
Quoted 3 lines

Because there are some something like 'SPL_FSL_PBL', 'NAND', 'SPIFLASH''SDCARD' which must be defined dynamically during build u-boot for various boot-mode in those *_defconfig files instead of in static include/config.h

I was thinking to use "select" in Kconfig. But as you said, there are some macros not standardized. Maybe it is too early to enforce that. Let's hear from Masahiro Yamada.

As you notice, many macros are missing from Kconfig, so we can not ban SYS_EXTRA_OPTIONS yet.

Signature · 2 lines
Best Regards
Masahiro Yamada
#6 lore raw

PATCH v4 1/1 powerpc/t1023rdb: Add T1023 RDB board support

In reply to Shengzhou Liu
Quoted 25 lines · Shengzhou Liu

T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC.

T1023RDB board Overview
-----------------------
- T1023 SoC integrating two 64-bit e5500 cores up to 1.4GHz
- CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation
- Memory: 2GB Micron MT40A512M8HX unbuffered 32-bit fixed DDR4 without ECC
- Accelerator: DPAA components consist of FMan, BMan, QMan, DCE and SEC
- Ethernet interfaces:
- one 1G RGMII port on-board(RTL8211F PHY)
- one 1G SGMII port on-board(RTL8211F PHY)
- one 2.5G SGMII port on-board(AQR105 PHY)
- PCIe: Two Mini-PCIe connectors on-board.
- SerDes: 4 lanes up to 10.3125GHz
- NOR: 128MB S29GL01GS110TFIV10 Spansion NOR Flash
- NAND: 512MB S34MS04G200BFI000 Spansion NAND Flash
- eSPI: 64MB S25FL512SAGMFI010 Spansion SPI flash.
- USB: one Type-A USB 2.0 port with internal PHY
- eSDHC: support SD/MMC card and eMMC on-board
- 256Kbit M24256 I2C EEPROM
- RTC: Real-time clock DS1339 on I2C bus
- UART: one serial port on-board with RJ45 connector
- Debugging: JTAG/COP for T1023 debugging

Quoted 8 lines

As well updated T1024RDB to add T1023RDB.

---
v4: squashed ddr patch to this one.
v3: updated readme.
v2: updated the printout of serdes refclk.

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

York