common/Kconfig: remove NOR_BOOT's depends on NOR
PATCH 1/5 common/Kconfig: remove NOR_BOOT's depends on NOR
From: Hou Zhiqiang <[email protected]>
Remove this dependency to make the NOR_BOOT available for other SoCs which do not have the config NOR, not only for am335x.
--- common/Kconfig | 1 - 1 file changed, 1 deletion(-)
common/Kconfig +0 -1
@@ -101,7 +101,6 @@ menu "Boot media" config NOR_BOOT bool "Support for booting from NOR flash" - depends on NOR help Enabling this will make a U-Boot binary that is capable of being booted via NOR. In this case we will enable certain pinmux early
Signature · 1 line
2.1.0.27.g96db324
PATCH 2/5 configs/ls104xa: enable the config NOR_BOOT
From: Hou Zhiqiang <[email protected]>
Enable the config NOR_BOOT obviously for NOR boot defconfigs of ls1043a and ls1046a.
--- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nor_ddr3_defconfig | 1 + configs/ls1043ardb_SECURE_BOOT_defconfig | 1 + configs/ls1043ardb_defconfig | 1 + configs/ls1046aqds_defconfig | 1 + 6 files changed, 6 insertions(+)
configs/ls1043aqds_defconfig +1 -0
@@ -5,6 +5,7 @@ CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_FSL_DDR4=y +CONFIG_NOR_BOOT=y CONFIG_BOOTDELAY=10 CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y
configs/ls1043aqds_lpuart_defconfig +1 -0
@@ -6,6 +6,7 @@ CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="LPUART" CONFIG_SYS_FSL_DDR4=y +CONFIG_NOR_BOOT=y CONFIG_BOOTDELAY=10 CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y
configs/ls1043aqds_nor_ddr3_defconfig +1 -0
@@ -4,6 +4,7 @@ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-qds-duart" CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y +CONFIG_NOR_BOOT=y CONFIG_BOOTDELAY=10 CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y
configs/ls1043ardb_SECURE_BOOT_defconfig +1 -0
@@ -6,6 +6,7 @@ CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SECURE_BOOT" CONFIG_SYS_FSL_DDR4=y +CONFIG_NOR_BOOT=y CONFIG_BOOTDELAY=10 CONFIG_HUSH_PARSER=y CONFIG_CMD_MMC=y
configs/ls1043ardb_defconfig +1 -0
@@ -5,6 +5,7 @@ CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_FSL_DDR4=y +CONFIG_NOR_BOOT=y CONFIG_BOOTDELAY=10 CONFIG_HUSH_PARSER=y CONFIG_CMD_MMC=y
configs/ls1046aqds_defconfig +1 -0
@@ -6,6 +6,7 @@ CONFIG_FIT=y CONFIG_FIT_VERBOSE=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4" +CONFIG_NOR_BOOT=y CONFIG_BOOTDELAY=10 CONFIG_HUSH_PARSER=y CONFIG_CMD_BOOTZ=y
Signature · 1 line
2.1.0.27.g96db324
PATCH 2/5 configs/ls104xa: enable the config NOR_BOOT
Quoted 14 lines
-----Original Message-----
From: Zhiqiang Hou [mailto:Zhiqiang.Hou at nxp.com]
Sent: Wednesday, October 12, 2016 2:56 PM
To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>; sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: [PATCH 2/5] configs/ls104xa: enable the configNOR_BOOT
Quoted 5 lines
From: Hou Zhiqiang <[email protected]>
Enable the config
NOR_BOOTobviously for NOR boot defconfigs of ls1043a and ls1046a.
Earlier, no CONFIG for NOR boot was required. Why new variable CONFIG_NOR_BOOT is even required?
--prabhakar
PATCH 2/5 configs/ls104xa: enable the config NOR_BOOT
Hi Prabhakar,
Thanks for your comments!
Quoted 29 lines
-----Original Message-----
From: Prabhakar Kushwaha
Sent: 2016?10?17? 11:40
To: Z.Q. Hou <[email protected]>; u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>;
sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: RE: [PATCH 2/5] configs/ls104xa: enable the configNOR_BOOTQuoted 5 lines
-----Original Message-----
From: Zhiqiang Hou [mailto:Zhiqiang.Hou at nxp.com]
Sent: Wednesday, October 12, 2016 2:56 PM
To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>; sjg at chromium.org; bmeng.cn at gmail.com;hs at denx.de;
Quoted 1 line
yamada.masahiro at socionext.com; Ruchika Gupta
Quoted 7 lines
eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: [PATCH 2/5] configs/ls104xa: enable the configNOR_BOOT
Quoted 8 lines
Quoted 5 lines
From: Hou Zhiqiang <[email protected]>
Enable the config
NOR_BOOTobviously for NOR boot defconfigs of ls1043a and ls1046a.Earlier, no CONFIG for NOR boot was required. Why new variable
CONFIG_NOR_BOOTis even required?
Now that the Boot Media configs has been introduced, it's reasonable to uniform all boot methods under this framework. And therefore the other config entry is able to be configured according to different Boot Media.
Thanks,
Zhiqiang
PATCH 2/5 configs/ls104xa: enable the config NOR_BOOT
Quoted 39 lines · Z.Q. Hou
Hi Prabhakar,
Thanks for your comments!
Quoted 35 lines
-----Original Message-----
From: Prabhakar Kushwaha
Sent: 2016?10?17? 11:40
To: Z.Q. Hou <[email protected]>; u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>;
sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: RE: [PATCH 2/5] configs/ls104xa: enable the configNOR_BOOTQuoted 5 lines
-----Original Message-----
From: Zhiqiang Hou [mailto:Zhiqiang.Hou at nxp.com]
Sent: Wednesday, October 12, 2016 2:56 PM
To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>; sjg at chromium.org; bmeng.cn at gmail.com;hs at denx.de;
Quoted 1 line
yamada.masahiro at socionext.com; Ruchika Gupta
Quoted 12 lines
eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: [PATCH 2/5] configs/ls104xa: enable the configNOR_BOOTFrom: Hou Zhiqiang <[email protected]>
Enable the config
NOR_BOOTobviously for NOR boot defconfigs of ls1043a and ls1046a.
Quoted 5 lines
Quoted 2 lines
Earlier, no CONFIG for NOR boot was required. Why new variable
CONFIG_NOR_BOOTis even required?Now that the Boot Media configs has been introduced, it's reasonable to uniform all boot methods under this framework. And therefore the other config entry is able to be configured according to different Boot Media.
But we also don't want to make this needlessly complicated. The general intention here is that we have some boot methods that are incompatible with others. For example, if a board lacks NOR and we try and run a binary that expects NOR, we panic today. So for beaglebone (where there is a NOR cape that you can boot from) we need a special build that does know about NOR.
At some level, once we have enough things in DM some of this special casing can go away I hope.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161017/6dcab136/attachment.sig>
PATCH 3/5 kconfig: armv8: move armv8 sec_firmware CONFIG_* to Kconfig
In reply to Zhiqiang HouFrom: Hou Zhiqiang <[email protected]>
--- arch/arm/cpu/armv8/Kconfig | 36 +++++++++++++++++++++++++++++++++++ arch/arm/cpu/armv8/Makefile | 2 +- arch/arm/cpu/armv8/sec_firmware_asm.S | 4 ++-- include/configs/ls1043ardb.h | 4 ---- include/configs/ls1046ardb.h | 4 ---- 5 files changed, 39 insertions(+), 11 deletions(-)
arch/arm/cpu/armv8/Kconfig +36 -0
@@ -21,4 +21,40 @@ config ARMV8_SPIN_TABLE - Reserve the code for the spin-table and the release address via a /memreserve/ region in the Device Tree. +menu "ARMv8 secure monitor firmware" +config ARMV8_SEC_FIRMWARE_SUPPORT + bool "Enable ARMv8 secure monitor firmware framework support" + select OF_LIBFDT + select FIT + help + This framework is aimed at making secure monitor firmware load + process brief. + Note: Only FIT format image is supported. + You should prepare and provide the below information: + - Address of secure firmware. + - Address to hold the return address from secure firmware. + - Secure firmware FIT image related information. + Such as: SEC_FIRMWARE_FIT_IMAGE and SEC_FIRMEWARE_FIT_CNF_NAME + - The target exception level that secure monitor firmware will + return to. + +config SPL_ARMV8_SEC_FIRMWARE_SUPPORT + bool "Enable ARMv8 secure monitor firmware framework support for SPL" + select SPL_OF_LIBFDT + select SPL_FIT + help + Say Y here to support this framework in SPL phase. + +config ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT + bool "ARMv8 secure monitor firmware ERET address byteorder swap" + depends on ARMV8_SEC_FIRMWARE_SUPPORT || SPL_ARMV8_SEC_FIRMWARE_SUPPORT + help + Say Y here when the endianness of the register or memory holding the + Secure firmware exception return address is different with core's. + +endmenu + +config ARMV8_PSCI + bool "ARMv8 PSCI support" + endif
arch/arm/cpu/armv8/Makefile +1 -1
@@ -19,7 +19,7 @@ obj-y += cpu-dt.o ifndef CONFIG_SPL_BUILD obj-$(CONFIG_ARMV8_SPIN_TABLE) += spin_table.o spin_table_v8.o endif -obj-$(CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_asm.o +obj-$(CONFIG_$(SPL_)ARMV8_SEC_FIRMWARE_SUPPORT) += sec_firmware.o sec_firmware_asm.o obj-$(CONFIG_FSL_LAYERSCAPE) += fsl-layerscape/ obj-$(CONFIG_S32V234) += s32v234/
arch/arm/cpu/armv8/sec_firmware_asm.S +2 -2
@@ -23,12 +23,12 @@ WEAK(_sec_firmware_entry) /* Set exception return address hold pointer */ adr x4, 1f mov x3, x4 -#ifdef SEC_FIRMWARE_ERET_ADDR_REVERT +#ifdef CONFIG_ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT rev w3, w3 #endif str w3, [x1] lsr x3, x4, #32 -#ifdef SEC_FIRMWARE_ERET_ADDR_REVERT +#ifdef CONFIG_ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT rev w3, w3 #endif str w3, [x2]
include/configs/ls1043ardb.h +0 -4
@@ -10,10 +10,6 @@#include "ls1043a_common.h" #if defined(CONFIG_FSL_LS_PPA ) -#define CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT -#define SEC_FIRMWARE_ERET_ADDR_REVERT -#define CONFIG_ARMV8_PSCI -#define CONFIG_SYS_LS_PPA_FW_IN_XIP #ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP #define CONFIG_SYS_LS_PPA_FW_ADDR 0x60500000
include/configs/ls1046ardb.h +0 -4
@@ -10,10 +10,6 @@#include "ls1046a_common.h" #if defined(CONFIG_FSL_LS_PPA ) -#define CONFIG_ARMV8_PSCI -#define CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT -#define CONFIG_SYS_LS_PPA_DRAM_BLOCK_MIN_SIZE (1UL * 1024 * 1024) -#define CONFIG_SYS_LS_PPA_FW_IN_XIP #ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP #define CONFIG_SYS_LS_PPA_FW_ADDR 0x40500000
Signature · 1 line
2.1.0.27.g96db324
PATCH 4/5 kconfig: fsl PPA: move CONFIG_* to Kconfig
In reply to Zhiqiang HouFrom: Hou Zhiqiang <[email protected]>
--- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 29 +++++++++++++++++++++++++++++ arch/arm/cpu/armv8/fsl-layerscape/Makefile | 2 +- include/configs/ls1043ardb.h | 7 ------- include/configs/ls1046ardb.h | 7 ------- 4 files changed, 30 insertions(+), 15 deletions(-)
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +29 -0
@@ -44,6 +44,35 @@ config FSL_LSCH3 menu "Layerscape architecture" depends on FSL_LSCH2 || FSL_LSCH3 +menu "Layerscape PPA" +config FSL_LS_PPA + bool "FSL Layerscape PPA firmware support" + depends on ARCH_LS1043A || ARCH_LS1046A + select ARMV8_PSCI + select ARMV8_SEC_FIRMWARE_SUPPORT + select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT + help + The FSL Primary Protected Application (PPA) is a software component + loaded during boot which runs in TrustZone and remains resident + after boot. +choice + prompt "FSL Layerscape PPA firmware storage select" + depends on FSL_LS_PPA + default SYS_LS_PPA_FW_IN_XIP + +config SYS_LS_PPA_FW_IN_XIP + bool "XIP" + +endchoice + +config SYS_LS_PPA_FW_ADDR + hex "Address of PPA firmware" + depends on FSL_LS_PPA + default 0x60500000 if SYS_LS_PPA_FW_IN_XIP && NOR_BOOT + default 0x40500000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT + +endmenu + config SYS_FSL_MMDC bool
arch/arm/cpu/armv8/fsl-layerscape/Makefile +1 -1
@@ -10,7 +10,7 @@ obj-y += soc.o obj-$(CONFIG_MP) += mp.o obj-$(CONFIG_OF_LIBFDT) += fdt.o obj-$(CONFIG_SPL) += spl.o -obj-$(CONFIG_FSL_LS_PPA) += ppa.o +obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o ifneq ($(CONFIG_FSL_LSCH3),) obj-y += fsl_lsch3_speed.o
include/configs/ls1043ardb.h +0 -7
@@ -9,13 +9,6 @@#include "ls1043a_common.h" -#if defined(CONFIG_FSL_LS_PPA ) -#define CONFIG_SYS_LS_PPA_FW_IN_XIP -#ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP -#define CONFIG_SYS_LS_PPA_FW_ADDR 0x60500000 -#endif -#endif -#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO
include/configs/ls1046ardb.h +0 -7
@@ -9,13 +9,6 @@#include "ls1046a_common.h" -#if defined(CONFIG_FSL_LS_PPA ) -#define CONFIG_SYS_LS_PPA_FW_IN_XIP -#ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP -#define CONFIG_SYS_LS_PPA_FW_ADDR 0x40500000 -#endif -#endif -#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO
Signature · 1 line
2.1.0.27.g96db324
PATCH 4/5 kconfig: fsl PPA: move CONFIG_* to Kconfig
Quoted 34 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Zhiqiang Hou
Sent: Wednesday, October 12, 2016 2:56 PM
To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>; sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: [U-Boot] [PATCH 4/5] kconfig: fsl PPA: move CONFIG_* toKconfigFrom: Hou Zhiqiang <[email protected]>
Signed-off-by Hou Zhiqiang <[email protected]>--- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 29 +++++++++++++++++++++++++++++ arch/arm/cpu/armv8/fsl- layerscape/Makefile | 2 +- include/configs/ls1043ardb.h | 7 ------- include/configs/ls1046ardb.h | 7 ------- 4 files changed, 30 insertions(+), 15 deletions(-)arch/arm/cpu/armv8/fsl-layerscape/Kconfig +0
-0
arch/arm/cpu/armv8/fsl-layerscape/Kconfig config FSL_LSCH3 · line 53
Quoted 10 lines
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +7
-0@@ -44,6 +44,35 @@ config FSL_LSCH3 menu "Layerscape architecture" depends on FSL_LSCH2 || FSL_LSCH3 +menu "Layerscape PPA" +config FSL_LS_PPA + bool "FSL Layerscape PPA firmware support" + depends on ARCH_LS1043A || ARCH_LS1046A + select ARMV8_PSCI + select ARMV8_SEC_FIRMWARE_SUPPORT + select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT
' ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT' macro is not required for chassis 3 platforms like LS2088A. So there should be separate CONFIG_.. option for this.
Quoted 83 lines
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +2
-0+ help + The FSL Primary Protected Application (PPA) is a softwarecomponent
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +20
-0+ loaded during boot which runs in TrustZone and remains resident + after boot. +choice + prompt "FSL Layerscape PPA firmware storage select" + depends on FSL_LS_PPA + default SYS_LS_PPA_FW_IN_XIP + +config SYS_LS_PPA_FW_IN_XIP + bool "XIP" + +endchoice + +config SYS_LS_PPA_FW_ADDR + hex "Address of PPA firmware" + depends on FSL_LS_PPA + default 0x60500000 if SYS_LS_PPA_FW_IN_XIP && NOR_BOOT + default 0x40500000 if SYS_LS_PPA_FW_IN_XIP && QSPI_BOOT + +endmenu + config SYS_FSL_MMDC boolarch/arm/cpu/armv8/fsl-layerscape/Makefile +1
-1@@ -10,7 +10,7 @@ obj-y += soc.o obj-$(CONFIG_MP) += mp.o obj-$(CONFIG_OF_LIBFDT) += fdt.o obj-$(CONFIG_SPL) += spl.o -obj-$(CONFIG_FSL_LS_PPA) += ppa.o +obj-$(CONFIG_$(SPL_)FSL_LS_PPA) += ppa.o ifneq ($(CONFIG_FSL_LSCH3),) obj-y += fsl_lsch3_speed.oinclude/configs/ls1043ardb.h +0
-7@@ -9,13 +9,6 @@#include "ls1043a_common.h" -#if defined(CONFIG_FSL_LS_PPA ) -#define CONFIG_SYS_LS_PPA_FW_IN_XIP -#ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP -#define CONFIG_SYS_LS_PPA_FW_ADDR 0x60500000 -#endif -#endif -#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO include/configs/ls1046ardb.h +0
-8@@ -9,13 +9,6 @@#include "ls1046a_common.h" -#if defined(CONFIG_FSL_LS_PPA ) -#define CONFIG_SYS_LS_PPA_FW_IN_XIP -#ifdef CONFIG_SYS_LS_PPA_FW_IN_XIP -#define CONFIG_SYS_LS_PPA_FW_ADDR 0x40500000 -#endif -#endif -#define CONFIG_DISPLAY_CPUINFO #define CONFIG_DISPLAY_BOARDINFO --2.1.0.27.g96db324
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
PATCH 4/5 kconfig: fsl PPA: move CONFIG_* to Kconfig
Quoted 37 lines · Priyanka Jain
Quoted 37 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Zhiqiang Hou
Sent: Wednesday, October 12, 2016 2:56 PM
To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>; sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: [U-Boot] [PATCH 4/5] kconfig: fsl PPA: move CONFIG_* toKconfigFrom: Hou Zhiqiang <[email protected]>
Signed-off-by Hou Zhiqiang <[email protected]>--- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 29 +++++++++++++++++++++++++++++ arch/arm/cpu/armv8/fsl- layerscape/Makefile | 2 +- include/configs/ls1043ardb.h | 7 ------- include/configs/ls1046ardb.h | 7 ------- 4 files changed, 30 insertions(+), 15 deletions(-)arch/arm/cpu/armv8/fsl-layerscape/Kconfig +0
-0@@ -44,6 +44,35 @@ config FSL_LSCH3 menu "Layerscape architecture" depends on FSL_LSCH2 || FSL_LSCH3
Quoted 9 lines
arch/arm/cpu/armv8/fsl-layerscape/Kconfig config FSL_LSCH3 · line 53
Quoted 7 lines
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +7
-0+menu "Layerscape PPA" +config FSL_LS_PPA + bool "FSL Layerscape PPA firmware support" + depends on ARCH_LS1043A || ARCH_LS1046A + select ARMV8_PSCI + select ARMV8_SEC_FIRMWARE_SUPPORT + select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT'
ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT' macro is not required for chassis 3 platforms like LS2088A. So there should be separateCONFIG_.. option for this.
Zhiqiang,
How will you handle lsch3?
York
PATCH 4/5 kconfig: fsl PPA: move CONFIG_* to Kconfig
Hi York,
Thanks for your comments!
Quoted 62 lines
-----Original Message-----
From: york sun
Sent: 2016?11?8? 2:33
To: Priyanka Jain <[email protected]>; Z.Q. Hou <[email protected]>; u-boot at lists.denx.de; albert.u.boot at aribaud.net; sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Subject: Re: [U-Boot] [PATCH 4/5] kconfig: fsl PPA: move CONFIG_* toKconfigQuoted 8 lines · Priyanka Jain
Quoted 8 lines
-----Original Message-----
From: U-Boot [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Zhiqiang Hou
Sent: Wednesday, October 12, 2016 2:56 PM
To: u-boot at lists.denx.de; albert.u.boot at aribaud.net; york sun <[email protected]>; sjg at chromium.org; bmeng.cn at gmail.com;hs at denx.de;
Quoted 1 line
Quoted 1 line
yamada.masahiro at socionext.com; Ruchika Gupta
Quoted 1 line
Quoted 1 line
eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar
Kushwaha
Quoted 27 lines
Quoted 27 lines
<[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Cc: Z.Q. Hou <[email protected]>
Subject: [U-Boot] [PATCH 4/5] kconfig: fsl PPA: move CONFIG_* toKconfigFrom: Hou Zhiqiang <[email protected]>
Signed-off-by Hou Zhiqiang <[email protected]>--- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 29 +++++++++++++++++++++++++++++ arch/arm/cpu/armv8/fsl- layerscape/Makefile | 2 +- include/configs/ls1043ardb.h | 7 ------- include/configs/ls1046ardb.h | 7 ------- 4 files changed, 30 insertions(+), 15 deletions(-)arch/arm/cpu/armv8/fsl-layerscape/Kconfig +0
-0@@ -44,6 +44,35 @@ config FSL_LSCH3 menu "Layerscape architecture" depends on FSL_LSCH2 || FSL_LSCH3Quoted 8 lines
arch/arm/cpu/armv8/fsl-layerscape/Kconfig config FSL_LSCH3 · line 53
Quoted 7 lines
arch/arm/cpu/armv8/fsl-layerscape/Kconfig +7
-0+menu "Layerscape PPA" +config FSL_LS_PPA + bool "FSL Layerscape PPA firmware support" + depends on ARCH_LS1043A || ARCH_LS1046A + select ARMV8_PSCI + select ARMV8_SEC_FIRMWARE_SUPPORT + select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT'
ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT' macro is not required for
Quoted 7 lines
chassis 3 platforms like LS2088A.
Quoted 1 line
So there should be separate
CONFIG_.. option for this.Zhiqiang,
How will you handle lsch3?
Will change it to 'select ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERT if FSL_LSCH2', since SCFG is big-endian on FSL_LSCH2 but little-endian on FSL_LSCH3.
Thanks,
Zhiqiang
PATCH 4/5 kconfig: fsl PPA: move CONFIG_* to Kconfig
Quoted 6 lines · Z.Q. Hou
Quoted 4 lines
Zhiqiang,
How will you handle lsch3?
Will change it to 'select
ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERTifFSL_LSCH2', since SCFG is big-endian onFSL_LSCH2but little-endian onFSL_LSCH3.
Zhiqiang,
Have you sent out an update? If not, please rebase your code before sending it.
York
PATCH 4/5 kconfig: fsl PPA: move CONFIG_* to Kconfig
Hi York,
Thanks for your comments!
Quoted 19 lines
-----Original Message-----
From: york sun
Sent: 2017?1?5? 2:49
To: Z.Q. Hou <[email protected]>; Priyanka Jain <[email protected]>; u-boot at lists.denx.de; albert.u.boot at aribaud.net; sjg at chromium.org; bmeng.cn at gmail.com; hs at denx.de; yamada.masahiro at socionext.com; Ruchika Gupta <[email protected]>; eddy.petrisor at gmail.com; s.temerkhanov at gmail.com; Prabhakar Kushwaha <[email protected]>; sr at denx.de; van.freenix at gmail.com; fgretief at spaceteq.co.za; rpjday at crashcourse.ca; trini at konsulko.com; Mingkai Hu <[email protected]>
Subject: Re: [U-Boot] [PATCH 4/5] kconfig: fsl PPA: move CONFIG_* toKconfigQuoted 5 lines · Z.Q. Hou
Quoted 4 lines
Zhiqiang,
How will you handle lsch3?
Will change it to 'select
ARMV8_SEC_FIRMWARE_ERET_ADDR_REVERTif
Quoted 8 lines
FSL_LSCH2', since SCFG is big-endian onFSL_LSCH2but little-endian onFSL_LSCH3.Quoted 1 line
Zhiqiang,
Have you sent out an update? If not, please rebase your code before sending it.
No, I haven't. This task has not been arranged to this sprint, will add it to next sprint.
Thanks,
Zhiqiang
PATCH 5/5 fsl PPA: enable PPA for ls1043ardb and ls1046ardb
In reply to Zhiqiang HouFrom: Hou Zhiqiang <[email protected]>
Enable PPA for ls1043ardb NOR boot and ls1046ardb QSPI boot.
--- configs/ls1043ardb_defconfig | 1 + configs/ls1046ardb_qspi_defconfig | 1 + 2 files changed, 2 insertions(+)
configs/ls1043ardb_defconfig +1 -0
@@ -3,6 +3,7 @@ CONFIG_TARGET_LS1043ARDB=y CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1043a-rdb" CONFIG_FIT=y CONFIG_FIT_VERBOSE=y +CONFIG_FSL_LS_PPA=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_FSL_DDR4=y CONFIG_NOR_BOOT=y
configs/ls1046ardb_qspi_defconfig +1 -0
@@ -4,6 +4,7 @@ CONFIG_DM_SPI=y CONFIG_DEFAULT_DEVICE_TREE="fsl-ls1046a-rdb" CONFIG_FIT=y CONFIG_FIT_VERBOSE=y +CONFIG_FSL_LS_PPA=y CONFIG_OF_BOARD_SETUP=y CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4" CONFIG_QSPI_BOOT=y
Signature · 1 line
2.1.0.27.g96db324
PATCH 1/5 common/Kconfig: remove NOR_BOOT's depends on NOR
In reply to Zhiqiang HouQuoted 6 lines · Zhiqiang Hou
From: Hou Zhiqiang <[email protected]>
Remove this dependency to make the
NOR_BOOTavailable for other SoCs which do not have the config NOR, not only for am335x.Signed-off-by Hou Zhiqiang <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20161013/17c0f61f/attachment.sig>