[U-Boot] [PATCH] powerpc/c29xpcie: Add secure boot support

From: Po Liu Po.Liu@freescale.com
Add NOR and SPI flash secure boot target for C29XPCIE board.
Signed-off-by: Po Liu Po.Liu@freescale.com Signed-off-by: Mingkai.Hu Mingkai.Hu@freescale.com --- boards.cfg | 2 ++ include/configs/C29XPCIE.h | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/boards.cfg b/boards.cfg index 853446c..b2328ec 100644 --- a/boards.cfg +++ b/boards.cfg @@ -769,6 +769,8 @@ Active powerpc mpc85xx - freescale bsc9132qds Active powerpc mpc85xx - freescale c29xpcie C29XPCIE C29XPCIE:C29XPCIE,36BIT Po Liu po.liu@freescale.com Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_NAND C29XPCIE:C29XPCIE,36BIT,NAND Po Liu po.liu@freescale.com Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_SPIFLASH C29XPCIE:C29XPCIE,36BIT,SPIFLASH Po Liu po.liu@freescale.com +Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_SECBOOT C29XPCIE:C29XPCIE,36BIT,SECURE_BOOT Po Liu po.liu@freescale.com +Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_SPIFLASH_SECBOOT C29XPCIE:C29XPCIE,36BIT,SPIFLASH,SECURE_BOOT Po Liu po.liu@freescale.com Active powerpc mpc85xx - freescale corenet_ds P3041DS - - Active powerpc mpc85xx - freescale corenet_ds P3041DS_NAND P3041DS:RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF40000 - Active powerpc mpc85xx - freescale corenet_ds P3041DS_SDCARD P3041DS:RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000 - diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h index be91704..dea6e87 100644 --- a/include/configs/C29XPCIE.h +++ b/include/configs/C29XPCIE.h @@ -576,4 +576,6 @@
#define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND
+#include <asm/fsl_secure_boot.h> + #endif /* __CONFIG_H */

Hi all,
Please ignore this email. Sorry for spam email
Thanks, Mingkai
-----Original Message----- From: Mingkai Hu [mailto:Mingkai.Hu@freescale.com] Sent: Tuesday, November 25, 2014 5:40 PM To: u-boot@lists.denx.de Cc: Sun York-R58495; Liu Po-B43644; Hu Mingkai-B21284 Subject: [PATCH] powerpc/c29xpcie: Add secure boot support
From: Po Liu Po.Liu@freescale.com
Add NOR and SPI flash secure boot target for C29XPCIE board.
Signed-off-by: Po Liu Po.Liu@freescale.com Signed-off-by: Mingkai.Hu Mingkai.Hu@freescale.com --- boards.cfg | 2 ++ include/configs/C29XPCIE.h | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/boards.cfg b/boards.cfg index 853446c..b2328ec 100644 --- a/boards.cfg +++ b/boards.cfg @@ -769,6 +769,8 @@ Active powerpc mpc85xx - freescale bsc9132qds Active powerpc mpc85xx - freescale c29xpcie C29XPCIE C29XPCIE:C29XPCIE,36BIT Po Liu po.liu@freescale.com Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_NAND C29XPCIE:C29XPCIE,36BIT,NAND Po Liu po.liu@freescale.com Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_SPIFLASH C29XPCIE:C29XPCIE,36BIT,SPIFLASH Po Liu po.liu@freescale.com +Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_SECBOOT C29XPCIE:C29XPCIE,36BIT,SECURE_BOOT Po Liu po.liu@freescale.com +Active powerpc mpc85xx - freescale c29xpcie C29XPCIE_SPIFLASH_SECBOOT C29XPCIE:C29XPCIE,36BIT,SPIFLASH,SECURE_BOOT Po Liu po.liu@freescale.com Active powerpc mpc85xx - freescale corenet_ds P3041DS - - Active powerpc mpc85xx - freescale corenet_ds P3041DS_NAND P3041DS:RAMBOOT_PBL,NAND,SYS_TEXT_BASE=0xFFF40000 - Active powerpc mpc85xx - freescale corenet_ds P3041DS_SDCARD P3041DS:RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF40000 - diff --git a/include/configs/C29XPCIE.h b/include/configs/C29XPCIE.h index be91704..dea6e87 100644 --- a/include/configs/C29XPCIE.h +++ b/include/configs/C29XPCIE.h @@ -576,4 +576,6 @@
#define CONFIG_BOOTCOMMAND CONFIG_RAMBOOTCOMMAND
+#include <asm/fsl_secure_boot.h> + #endif /* __CONFIG_H */ -- 2.1.0.27.g96db324
participants (2)
-
Mingkai Hu
-
Mingkai.Hu@freescale.com