Skip to contentSkip to conversation

T104xD4: Add Secure boot support for T104xD4RDB platforms.

PATCH New Gaurav Rana 3 participants 3 messages Mar 26, 2015 – Jul 31, 2015 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 T104xD4: Add Secure boot support for T104xD4RDB platforms.

defconfig files are added and SFP version for these platforms is updated.

---
 arch/powerpc/include/asm/config_mpc85xx.h  | 1 +
 arch/powerpc/include/asm/fsl_secure_boot.h | 2 ++
 board/freescale/t104xrdb/MAINTAINERS       | 2 ++
 configs/T1040D4RDB_SECURE_BOOT_defconfig   | 4 ++++
 configs/T1042D4RDB_SECURE_BOOT_defconfig   | 4 ++++
 5 files changed, 13 insertions(+)
 create mode 100644 configs/T1040D4RDB_SECURE_BOOT_defconfig
 create mode 100644 configs/T1042D4RDB_SECURE_BOOT_defconfig
arch/powerpc/include/asm/config_mpc85xx.h +1 -0
index 69e0592..f971ffc 100644
@@ -798,6 +798,7 @@ defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022)
 #define QE_MURAM_SIZE			0x6000UL
 #define MAX_QE_RISC			1
 #define QE_NUM_OF_SNUM			28
+#define CONFIG_SYS_FSL_SFP_VER_3_0
 
 #elif defined(CONFIG_PPC_T1024) || defined(CONFIG_PPC_T1023) ||\
 defined(CONFIG_PPC_T1014) || defined(CONFIG_PPC_T1013)
arch/powerpc/include/asm/fsl_secure_boot.h +2 -0
index 49f6814..aa06f2e 100644
@@ -37,7 +37,9 @@
 	defined(CONFIG_T2080QDS) || \
 	defined(CONFIG_T2080RDB) || \
 	defined(CONFIG_T1040QDS) || \
+	defined(CONFIG_T104xD4QDS) || \
 	defined(CONFIG_T104xRDB) || \
+	defined(CONFIG_T104xD4RDB) || \
 	defined(CONFIG_PPC_T1023) || \
 	defined(CONFIG_PPC_T1024)
 #define CONFIG_SYS_CPC_REINIT_F
board/freescale/t104xrdb/MAINTAINERS +2 -0
index 13d9be9..6dd3c5e 100644
@@ -21,4 +21,6 @@ T1040RDB_SECURE_BOOT BOARD
 M:	Aneesh Bansal  <[email protected]>
 S:	Maintained
 F:	configs/T1040RDB_SECURE_BOOT_defconfig
+F:	configs/T1040D4RDB_SECURE_BOOT_defconfig
 F:	configs/T1042RDB_SECURE_BOOT_defconfig
+F:	configs/T1042D4RDB_SECURE_BOOT_defconfig
configs/T1040D4RDB_SECURE_BOOT_defconfig new file +4 -0
new file mode 100644
index 0000000..d2aca80
@@ -0,0 +1,4 @@
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,T104XD4RDB,SYS_FSL_DDR4,SECURE_BOOT"
+CONFIG_PPC=y
+CONFIG_MPC85xx=y
+CONFIG_TARGET_T104XRDB=y
configs/T1042D4RDB_SECURE_BOOT_defconfig new file +4 -0
new file mode 100644
index 0000000..737bc70
@@ -0,0 +1,4 @@
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,T104XD4RDB,SYS_FSL_DDR4,SECURE_BOOT"
+CONFIG_PPC=y
+CONFIG_MPC85xx=y
+CONFIG_TARGET_T104XRDB=y
Signature · 1 line
1.8.1.4
#1 lore raw

PATCH 1/1 T104xD4: Add Secure boot support for T104xD4RDB platforms.

Quoted 67 lines · Gaurav Rana

defconfig files are added and SFP version for these platforms is updated.

---
 arch/powerpc/include/asm/config_mpc85xx.h  | 1 +
 arch/powerpc/include/asm/fsl_secure_boot.h | 2 ++
 board/freescale/t104xrdb/MAINTAINERS       | 2 ++
 configs/T1040D4RDB_SECURE_BOOT_defconfig   | 4 ++++
 configs/T1042D4RDB_SECURE_BOOT_defconfig   | 4 ++++
 5 files changed, 13 insertions(+)
 create mode 100644 configs/T1040D4RDB_SECURE_BOOT_defconfig
 create mode 100644 configs/T1042D4RDB_SECURE_BOOT_defconfig
arch/powerpc/include/asm/config_mpc85xx.h +1 -0
index 69e0592..f971ffc 100644
@@ -798,6 +798,7 @@ defined(CONFIG_PPC_T1020) || defined(CONFIG_PPC_T1022)
 #define QE_MURAM_SIZE			0x6000UL
 #define MAX_QE_RISC			1
 #define QE_NUM_OF_SNUM			28
+#define CONFIG_SYS_FSL_SFP_VER_3_0
 
 #elif defined(CONFIG_PPC_T1024) || defined(CONFIG_PPC_T1023) ||\
 defined(CONFIG_PPC_T1014) || defined(CONFIG_PPC_T1013)
arch/powerpc/include/asm/fsl_secure_boot.h +2 -0
index 49f6814..aa06f2e 100644
@@ -37,7 +37,9 @@
 	defined(CONFIG_T2080QDS) || \
 	defined(CONFIG_T2080RDB) || \
 	defined(CONFIG_T1040QDS) || \
+	defined(CONFIG_T104xD4QDS) || \
 	defined(CONFIG_T104xRDB) || \
+	defined(CONFIG_T104xD4RDB) || \
 	defined(CONFIG_PPC_T1023) || \
 	defined(CONFIG_PPC_T1024)
 #define CONFIG_SYS_CPC_REINIT_F
board/freescale/t104xrdb/MAINTAINERS +2 -0
index 13d9be9..6dd3c5e 100644
@@ -21,4 +21,6 @@ T1040RDB_SECURE_BOOT BOARD
 M:	Aneesh Bansal  <[email protected]>
 S:	Maintained
 F:	configs/T1040RDB_SECURE_BOOT_defconfig
+F:	configs/T1040D4RDB_SECURE_BOOT_defconfig
 F:	configs/T1042RDB_SECURE_BOOT_defconfig
+F:	configs/T1042D4RDB_SECURE_BOOT_defconfig
configs/T1040D4RDB_SECURE_BOOT_defconfig new file +4 -0
new file mode 100644
index 0000000..d2aca80
@@ -0,0 +1,4 @@
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1040,T1040D4RDB,T104XD4RDB,SYS_FSL_DDR4,SECURE_BOOT"
+CONFIG_PPC=y
+CONFIG_MPC85xx=y
+CONFIG_TARGET_T104XRDB=y
configs/T1042D4RDB_SECURE_BOOT_defconfig new file +0 -0
new file mode 100644
index 0000000..737bc70

configs/T1042D4RDB_SECURE_BOOT_defconfig line 4

Quoted 4 lines
configs/T1042D4RDB_SECURE_BOOT_defconfig new file +4 -0
@@ -0,0 +1,4 @@
+CONFIG_SYS_EXTRA_OPTIONS="PPC_T1042,T1042D4RDB,T104XD4RDB,SYS_FSL_DDR4,SECURE_BOOT"
+CONFIG_PPC=y
+CONFIG_MPC85xx=y
+CONFIG_TARGET_T104XRDB=y

From doc/README.kconfig: "Eventually CONFIG_SYS_EXTRA_OPTIONS will go away. CONFIG_SYS_EXTRA_OPTIONS should not be used for new boards."

What does the "D4" mean?

-Scott

#2 lore raw

PATCH 1/1 T104xD4: Add Secure boot support for T104xD4RDB platforms.

In reply to Gaurav Rana
Quoted 5 lines · Gaurav Rana

defconfig files are added and SFP version for these platforms is updated.

---

Applied to u-boot-mpc85xx master. Don't worry about the "D4" in the board name. We have more than one board. We can rename them in one patch.

Thanks.

York