]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/arm/Kconfig
arm/arm64: implement a boot header capability
[people/ms/u-boot.git] / arch / arm / Kconfig
index 71169b2520f8280daff405e8d8b9b756b1508ef9..0805fa41ac9b7224d97a57cfd968840125732831 100644 (file)
@@ -64,6 +64,20 @@ config SYS_CPU
         default "sa1100" if CPU_SA1100
        default "armv8" if ARM64
 
+config SYS_ARM_ARCH
+       int
+       default 4 if CPU_ARM720T
+       default 4 if CPU_ARM920T
+       default 5 if CPU_ARM926EJS
+       default 5 if CPU_ARM946ES
+       default 6 if CPU_ARM1136
+       default 6 if CPU_ARM1176
+       default 7 if CPU_V7
+       default 7 if CPU_V7M
+       default 5 if CPU_PXA
+       default 4 if CPU_SA1100
+       default 8 if ARM64
+
 config SEMIHOSTING
        bool "support boot from semihosting"
        help
@@ -77,6 +91,14 @@ config SYS_L2CACHE_OFF
          If SoC does not support L2CACHE or one do not want to enable
          L2CACHE, choose this option.
 
+config ENABLE_ARM_SOC_BOOT0_HOOK
+       bool "prepare BOOT0 header"
+       help
+         If the SoC's BOOT0 requires a header area filled with (magic)
+         values, then choose this option, and create a define called
+         ARM_SOC_BOOT0_HOOK which contains the required assembler
+         preprocessor code.
+
 choice
        prompt "Target select"
        default TARGET_HIKEY
@@ -793,6 +815,7 @@ config ARCH_ROCKCHIP
 
 config TARGET_THUNDERX_88XX
        bool "Support ThunderX 88xx"
+       select ARM64
        select OF_CONTROL
 
 endchoice