mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
089df18bfe
Commit 94e3c8c4fd
("crypto/fsl - Add progressive hashing support
using hardware acceleration.") created entries for CONFIG_SHA1,
CONFIG_SHA256, CONFIG_SHA_HW_ACCEL, and CONFIG_SHA_PROG_HW_ACCEL.
However, no defconfig has migrated to it. Complete the move by first
adding additional logic to various Kconfig files to select this when
required and then use the moveconfig tool. In many cases we can select
these because they are required to implement other drivers. We also
correct how we include the various hashing algorithms in SPL.
This commit was generated as follows (after Kconfig additions):
[1] tools/moveconfig.py -y SHA1 SHA256 SHA_HW_ACCEL
[2] tools/moveconfig.py -y SHA_PROG_HW_ACCEL
Note:
We cannot move SHA_HW_ACCEL and SHA_PROG_HW_ACCEL simultaneously
because there is dependency between them.
Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Cc: Naveen Burmi <NaveenBurmi@freescale.com>
Cc: Po Liu <po.liu@freescale.com>
Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Cc: Priyanka Jain <Priyanka.Jain@freescale.com>
Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
Cc: Chunhe Lan <Chunhe.Lan@freescale.com>
Cc: Chander Kashyap <k.chander@samsung.com>
Cc: Steve Rae <steve.rae@raedomain.com>
Cc: Dirk Eibach <eibach@gdsys.de>
Cc: Feng Li <feng.li_2@nxp.com>
Cc: Alison Wang <alison.wang@freescale.com>
Cc: Sumit Garg <sumit.garg@nxp.com>
Cc: Mingkai Hu <Mingkai.Hu@freescale.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Akshay Saraswat <akshay.s@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
160 lines
3.1 KiB
Text
160 lines
3.1 KiB
Text
if ARCH_EXYNOS
|
|
|
|
choice
|
|
prompt "EXYNOS architecture type select"
|
|
optional
|
|
|
|
config ARCH_EXYNOS4
|
|
bool "Exynos4 SoC family"
|
|
select CPU_V7
|
|
select BOARD_EARLY_INIT_F
|
|
help
|
|
Samsung Exynos4 SoC family are based on ARM Cortex-A9 CPU. There
|
|
are multiple SoCs in this family including Exynos4210, Exynos4412,
|
|
and Exynos4212.
|
|
|
|
config ARCH_EXYNOS5
|
|
bool "Exynos5 SoC family"
|
|
select CPU_V7
|
|
select BOARD_EARLY_INIT_F
|
|
select SHA_HW_ACCEL
|
|
help
|
|
Samsung Exynos5 SoC family are based on ARM Cortex-A15 CPU (and
|
|
Cortex-A7 CPU in big.LITTLE configuration). There are multiple SoCs
|
|
in this family including Exynos5250, Exynos5420 and Exynos5800.
|
|
|
|
config ARCH_EXYNOS7
|
|
bool "Exynos7 SoC family"
|
|
select ARM64
|
|
select BOARD_EARLY_INIT_F
|
|
help
|
|
Samsung Exynos7 SoC family are based on ARM Cortex-A57 CPU or
|
|
Cortex-A53 CPU (and some in a big.LITTLE configuration). There are
|
|
multiple SoCs in this family including Exynos7420.
|
|
|
|
endchoice
|
|
|
|
if ARCH_EXYNOS4
|
|
|
|
choice
|
|
prompt "EXYNOS4 board select"
|
|
|
|
config TARGET_SMDKV310
|
|
select SUPPORT_SPL
|
|
bool "Exynos4210 SMDKV310 board"
|
|
select OF_CONTROL
|
|
|
|
config TARGET_TRATS
|
|
bool "Exynos4210 Trats board"
|
|
|
|
config TARGET_S5PC210_UNIVERSAL
|
|
bool "EXYNOS4210 Universal C210 board"
|
|
|
|
config TARGET_ORIGEN
|
|
bool "Exynos4412 Origen board"
|
|
select SUPPORT_SPL
|
|
|
|
config TARGET_TRATS2
|
|
bool "Exynos4412 Trat2 board"
|
|
|
|
config TARGET_ODROID
|
|
bool "Exynos4412 Odroid board"
|
|
|
|
endchoice
|
|
endif
|
|
|
|
if ARCH_EXYNOS5
|
|
|
|
config SPL_GPIO_SUPPORT
|
|
default y
|
|
|
|
config SPL_LIBCOMMON_SUPPORT
|
|
default y
|
|
|
|
config SPL_LIBGENERIC_SUPPORT
|
|
default y
|
|
|
|
choice
|
|
prompt "EXYNOS5 board select"
|
|
|
|
config TARGET_ODROID_XU3
|
|
bool "Exynos5422 Odroid board"
|
|
select OF_CONTROL
|
|
|
|
config TARGET_ARNDALE
|
|
bool "Exynos5250 Arndale board"
|
|
select ARM_ERRATA_773022
|
|
select ARM_ERRATA_774769
|
|
select CPU_V7_HAS_NONSEC
|
|
select CPU_V7_HAS_VIRT
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
|
|
config TARGET_SMDK5250
|
|
bool "SMDK5250 board"
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
|
|
config TARGET_SNOW
|
|
bool "Snow board"
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
|
|
config TARGET_SPRING
|
|
bool "Spring board"
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
select SPL_DISABLE_OF_CONTROL
|
|
|
|
config TARGET_SMDK5420
|
|
bool "SMDK5420 board"
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
|
|
config TARGET_PEACH_PI
|
|
bool "Peach Pi board"
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
|
|
config TARGET_PEACH_PIT
|
|
bool "Peach Pit board"
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
|
|
endchoice
|
|
endif
|
|
|
|
if ARCH_EXYNOS7
|
|
|
|
choice
|
|
prompt "EXYNOS7 board select"
|
|
|
|
config TARGET_ESPRESSO7420
|
|
bool "ESPRESSO7420 board"
|
|
select ARM64
|
|
select ARMV8_MULTIENTRY
|
|
select SUPPORT_SPL
|
|
select OF_CONTROL
|
|
select SPL_DISABLE_OF_CONTROL
|
|
select PINCTRL
|
|
select PINCTRL_EXYNOS7420
|
|
select CLK_EXYNOS
|
|
|
|
endchoice
|
|
endif
|
|
|
|
config SYS_SOC
|
|
default "exynos"
|
|
|
|
source "board/samsung/smdkv310/Kconfig"
|
|
source "board/samsung/trats/Kconfig"
|
|
source "board/samsung/universal_c210/Kconfig"
|
|
source "board/samsung/origen/Kconfig"
|
|
source "board/samsung/trats2/Kconfig"
|
|
source "board/samsung/odroid/Kconfig"
|
|
source "board/samsung/arndale/Kconfig"
|
|
source "board/samsung/smdk5250/Kconfig"
|
|
source "board/samsung/smdk5420/Kconfig"
|
|
source "board/samsung/espresso7420/Kconfig"
|
|
|
|
endif
|