diff mbox

[U-Boot,3/3] LS2080A: Adjust memory map for secure boot headers for NOR-boot

Message ID 1493727237-21240-3-git-send-email-udit.agarwal@nxp.com
State Accepted
Delegated to: York Sun
Headers show

Commit Message

Udit Agarwal May 2, 2017, 12:13 p.m. UTC
This patch adjusts memory map for secure boot headers on LS2080AQDS
and LS2080ARDB platforms.

Secure boot headers are placed on NOR flash at offset 0x00600000.

Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
---
https://patchwork.ozlabs.org/patch/756222/
https://patchwork.ozlabs.org/patch/756221/
https://patchwork.ozlabs.org/patch/756250/

 board/freescale/ls2080aqds/README |  1 +
 board/freescale/ls2080ardb/README |  1 +
 include/configs/ls2080aqds.h      | 10 +++++-----
 include/configs/ls2080ardb.h      | 10 +++++-----
 4 files changed, 12 insertions(+), 10 deletions(-)

Comments

York Sun May 25, 2017, 3:03 p.m. UTC | #1
On 05/02/2017 05:16 AM, Udit Agarwal wrote:
> This patch adjusts memory map for secure boot headers on LS2080AQDS
> and LS2080ARDB platforms.
>
> Secure boot headers are placed on NOR flash at offset 0x00600000.
>
> Signed-off-by: Udit Agarwal <udit.agarwal@nxp.com>
> ---
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756222%2F&data=01%7C01%7Cyork.sun%40nxp.com%7C4e232d5f8dc840678c6508d49154fc6e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=%2F24KZSQmFPgDKMXGn%2FFN1proLxz5jJb0PwBJUa4PbXc%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756221%2F&data=01%7C01%7Cyork.sun%40nxp.com%7C4e232d5f8dc840678c6508d49154fc6e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=KYe3oxt56jKRG3FqIuB%2BVeR59cYj7TEJdHPt%2F1pZLfI%3D&reserved=0
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.ozlabs.org%2Fpatch%2F756250%2F&data=01%7C01%7Cyork.sun%40nxp.com%7C4e232d5f8dc840678c6508d49154fc6e%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=4crHHfSCgpHTj3n%2BmyVhyb53ioD5WkQNue4c1wmaDnY%3D&reserved=0
>
>  board/freescale/ls2080aqds/README |  1 +
>  board/freescale/ls2080ardb/README |  1 +
>  include/configs/ls2080aqds.h      | 10 +++++-----
>  include/configs/ls2080ardb.h      | 10 +++++-----
>  4 files changed, 12 insertions(+), 10 deletions(-)
>

Applied to fsl-qoriq master, awaiting upstream. Thanks.

York
diff mbox

Patch

diff --git a/board/freescale/ls2080aqds/README b/board/freescale/ls2080aqds/README
index fd0e25a..cad860e 100644
--- a/board/freescale/ls2080aqds/README
+++ b/board/freescale/ls2080aqds/README
@@ -96,6 +96,7 @@  RCW+PBI				0x00000000
 Boot firmware (U-Boot)		0x00100000
 Boot firmware Environment	0x00300000
 PPA firmware			0x00400000
+Secure Headers			0x00600000
 DPAA2 MC			0x00A00000
 DPAA2 DPL			0x00D00000
 DPAA2 DPC			0x00E00000
diff --git a/board/freescale/ls2080ardb/README b/board/freescale/ls2080ardb/README
index f228d80..205c45c 100644
--- a/board/freescale/ls2080ardb/README
+++ b/board/freescale/ls2080ardb/README
@@ -92,6 +92,7 @@  RCW+PBI				0x00000000
 Boot firmware (U-Boot)		0x00100000
 Boot firmware Environment	0x00300000
 PPA firmware			0x00400000
+Secure Headers			0x00600000
 Cortina PHY firmware		0x00980000
 DPAA2 MC			0x00A00000
 DPAA2 DPL			0x00D00000
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index d646197..efc3d5b 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -369,14 +369,14 @@  unsigned long get_board_ddr_clk(void);
 	"ramdisk_size=0x2000000\0"		\
 	"fdt_high=0xa0000000\0"			\
 	"initrd_high=0xffffffffffffffff\0"	\
-	"kernel_start=0x581100000\0"		\
+	"kernel_start=0x581000000\0"		\
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"mcmemsize=0x40000000\0"		\
-	"mcinitcmd=esbc_validate 0x580c80000;"  \
-	"esbc_validate 0x580cc0000;"            \
-	"fsl_mc start mc 0x580300000"           \
-	" 0x580800000 \0"
+	"mcinitcmd=esbc_validate 0x580700000;"  \
+	"esbc_validate 0x580740000;"            \
+	"fsl_mc start mc 0x580a00000"           \
+	" 0x580e00000 \0"
 #else
 #define CONFIG_EXTRA_ENV_SETTINGS		\
 	"hwconfig=fsl_ddr:bank_intlv=auto\0"	\
diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h
index 5a1d516..6abf54b 100644
--- a/include/configs/ls2080ardb.h
+++ b/include/configs/ls2080ardb.h
@@ -400,15 +400,15 @@  unsigned long get_board_sys_clk(void);
 	"ramdisk_size=0x2000000\0"		\
 	"fdt_high=0xa0000000\0"			\
 	"initrd_high=0xffffffffffffffff\0"	\
-	"kernel_start=0x581100000\0"		\
+	"kernel_start=0x581000000\0"		\
 	"kernel_load=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\
 	"mcmemsize=0x40000000\0"		\
 	"fdtfile=fsl-ls2080a-rdb.dtb\0"		\
-	"mcinitcmd=esbc_validate 0x580c80000;"  \
-	"esbc_validate 0x580cc0000;"            \
-	"fsl_mc start mc 0x580300000"           \
-	" 0x580800000 \0"                       \
+	"mcinitcmd=esbc_validate 0x580700000;"  \
+	"esbc_validate 0x580740000;"            \
+	"fsl_mc start mc 0x580a00000"           \
+	" 0x580e00000 \0"                       \
 	BOOTENV
 #endif
 #else