u-boot/arch/arm/mach-socfpga
Siew Chin Lim 2dbcc037cc arm: socfpga: Only do 'is OS booted from FIT' checking when VAB is enabled
Check CONFIG_SOCFPGA_SECURE_VAB_AUTH before perform 'is OS booted from FIT'
checking in board_prep_linux function. And, fix typo of
CONFIG_SOCFPGA_SECURE_VAB_AUTH_ALLOW_NON_FIT_IMAGE.

CONFIG_FIT will be enabled in both ATF and VAB boot flow, thus,
board_prep_linux function will always be called by both ATF and
VAB boot flow.

board_pre_linux function will do 'is OS booted from FIT' checking,
and it will be called before board_fit_image_post_process function.

VAB boot flow expects the OS is always booted from FIT and with VAB
signed cerfiticate because the VAB authentication is implemented in
board_fit_image_post_process function. So, VAB needs the 'is OS booted
from FIT' checking in board_pre_linux function.

However, for ATF boot flow, it is not a requirement that the OS must
always booted from FIT. The OS can be booted from individual Image and
kernel dtb file. Thus, we should not do 'if OS is booted from FIT'
checking in board_prep_linux function.

Signed-off-by: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>
2021-03-23 14:46:35 +08:00
..
include/mach arm: socfpga: soc64: Support Vendor Authorized Boot (VAB) 2021-03-08 10:59:10 +08:00
board.c arm: socfpga: Only do 'is OS booted from FIT' checking when VAB is enabled 2021-03-23 14:46:35 +08:00
clock_manager.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clock_manager_agilex.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
clock_manager_arria10.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
clock_manager_gen5.c arm: socfpga: Convert clock manager from struct to defines 2020-01-07 14:38:33 +01:00
clock_manager_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
firewall.c arm: socfpga: Move Stratix10 and Agilex system manager common code 2020-01-07 14:38:33 +01:00
fpga_manager.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
freeze_controller.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig arm: socfpga: soc64: Support Vendor Authorized Boot (VAB) 2021-03-08 10:59:10 +08:00
lowlevel_init_soc64.S arm: socfpga: soc64: Override 'lowlevel_init' to support ATF 2021-01-15 17:48:35 +08:00
mailbox_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
Makefile arm: socfpga: cmd: Support 'vab' command 2021-03-08 10:59:10 +08:00
misc.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
misc_arria10.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
misc_gen5.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
misc_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mmu-arm64_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pinmux_arria10.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
qts-filter-a10.sh arm: socfpga: arria10: Add qts-filter for Arria10 socfpga 2020-10-09 17:53:14 +08:00
qts-filter.sh ddr: altera: Add DDR2 support to Gen5 driver 2020-02-05 03:01:57 +01:00
reset_manager_arria10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
reset_manager_gen5.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
reset_manager_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
scan_manager.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
secure_reg_helper.c arm: socfpga: Add secure register access helper functions for SoC 64bits 2021-01-15 17:48:36 +08:00
secure_vab.c arm: socfpga: soc64: Support Vendor Authorized Boot (VAB) 2021-03-08 10:59:10 +08:00
smc_api.c arm: socfpga: soc64: Add SMC helper function for Intel SOCFPGA (64bits) 2021-01-15 17:48:36 +08:00
spl_a10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl_agilex.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl_gen5.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
system_manager_gen5.c arm: socfpga: Convert system manager from struct to defines 2020-01-07 14:38:33 +01:00
system_manager_s10.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
timer.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
timer_s10.c arm: socfpga: soc64: Initialize timer in SPL only 2020-10-09 17:53:11 +08:00
vab.c arm: socfpga: cmd: Support 'vab' command 2021-03-08 10:59:10 +08:00
wrap_iocsr_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pinmux_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pinmux_config_s10.c arm: socfpga: stratix10: Add pinmux support for Stratix10 SoC 2018-05-18 10:30:48 +02:00
wrap_pll_config.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
wrap_pll_config_s10.c arm: socfpga: soc64: Skip handoff data access in SSBL 2021-01-15 17:48:38 +08:00
wrap_sdram_config.c ddr: altera: Add DDR2 support to Gen5 driver 2020-02-05 03:01:57 +01:00