9c072f0f1a0264d78c0070e112b8e4f30ca9fb84
[openwrt/staging/hauke.git] /
1 From b43d6d42d734e78bd9b805a62f2a64933c144a41 Mon Sep 17 00:00:00 2001
2 From: Sumit Garg <sumit.garg@nxp.com>
3 Date: Thu, 14 Jul 2016 07:20:02 -0400
4 Subject: [PATCH 80/93] ls1012ardb: PPA: Enable PPA validation in case of
5 secure boot
6
7 As part of Secure Boot Chain of trust, enable validation of PPA image
8 before the image is started.
9
10 Signed-off-by: Sumit Garg <sumit.garg@nxp.com>
11 ---
12 arch/arm/include/asm/fsl_secure_boot.h | 2 ++
13 include/configs/ls1012a_common.h | 2 --
14 include/configs/ls1012ardb.h | 2 ++
15 3 files changed, 4 insertions(+), 2 deletions(-)
16
17 diff --git a/arch/arm/include/asm/fsl_secure_boot.h b/arch/arm/include/asm/fsl_secure_boot.h
18 index b2e9105..0580fcd 100644
19 --- a/arch/arm/include/asm/fsl_secure_boot.h
20 +++ b/arch/arm/include/asm/fsl_secure_boot.h
21 @@ -107,6 +107,8 @@
22 #ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP
23 #ifdef CONFIG_LS1043A
24 #define CONFIG_SYS_LS_PPA_ESBC_ADDR 0x600c0000
25 +#else
26 +#define CONFIG_SYS_LS_PPA_ESBC_ADDR 0x40480000
27 #endif
28 #else
29 #error "No CONFIG_SYS_LS_PPA_FW_IN_xxx defined"
30 diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h
31 index 0d64889..7e935ad 100644
32 --- a/include/configs/ls1012a_common.h
33 +++ b/include/configs/ls1012a_common.h
34 @@ -191,6 +191,4 @@
35 #define CONFIG_DOS_PARTITION
36 #define CONFIG_CMD_EXT2
37
38 -#include <asm/fsl_secure_boot.h>
39 -
40 #endif /* __LS1012A_COMMON_H */
41 diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
42 index e97c1f9..d78edd2 100644
43 --- a/include/configs/ls1012ardb.h
44 +++ b/include/configs/ls1012ardb.h
45 @@ -149,4 +149,6 @@
46
47 #define CONFIG_FSL_CAAM /* Enable CAAM */
48
49 +#include <asm/fsl_secure_boot.h>
50 +
51 #endif /* __LS1012ARDB_H__ */
52 --
53 1.7.9.5
54