diff options
author | Marek Vasut <marex@denx.de> | 2016-05-26 18:01:36 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-02 21:21:43 -0400 |
commit | 66020a67c18ff78e1ca25d9ffeebab0b91d064a7 (patch) | |
tree | 06e4278603e9a6a6f4777d938effcd203d71d58c /arch | |
parent | e68df9994eaa6bdb81d9dac11a0c0b799416c91e (diff) | |
download | u-boot-imx-66020a67c18ff78e1ca25d9ffeebab0b91d064a7.zip u-boot-imx-66020a67c18ff78e1ca25d9ffeebab0b91d064a7.tar.gz u-boot-imx-66020a67c18ff78e1ca25d9ffeebab0b91d064a7.tar.bz2 |
arm: config: Introduce CONFIG_SYS_ARM_ARCH
Introduce new helper Kconfig option, which is automatically set to
the version of ARM architecture for which the U-Boot is built. This
is useful when selecting tuning options in the libgcc imported from
Linux kernel.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index e5463d2..77eab66 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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 |