public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 01/12] arm: config: Introduce CONFIG_SYS_ARM_ARCH
@ 2016-05-26 16:01 Marek Vasut
  2016-05-26 16:01 ` [U-Boot] [PATCH 02/12] arm: include: Import unified.h from Linux kernel Marek Vasut
                   ` (12 more replies)
  0 siblings, 13 replies; 39+ messages in thread
From: Marek Vasut @ 2016-05-26 16:01 UTC (permalink / raw)
  To: u-boot

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>
---
 arch/arm/Kconfig | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 729b181..b71c2bb 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
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2016-06-06 17:46 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-26 16:01 [U-Boot] [PATCH 01/12] arm: config: Introduce CONFIG_SYS_ARM_ARCH Marek Vasut
2016-05-26 16:01 ` [U-Boot] [PATCH 02/12] arm: include: Import unified.h from Linux kernel Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 03/12] arm: lib: Drop underscore from private libgcc filenames Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 04/12] arm: lib: Sync libgcc shift operations Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,04/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 05/12] arm: lib: Sync libgcc 32b division/modulo operations Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 06/12] arm: lib: Fix uldivmod.S build on Thumb2 Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 07/12] arm: lib: Import __do_div64 from Linux Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,07/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 08/12] arm: lib: Repair Warning: conditional infixes are deprecated in unified syntax Marek Vasut
2016-06-02 13:05   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot, " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 09/12] arm: lib: import muldi3.S from Linux Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,09/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 10/12] arm: lib: Import Thumb1 functions Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 13:59   ` [U-Boot] [U-Boot,10/12] " Tom Rini
2016-05-26 16:01 ` [U-Boot] [PATCH 11/12] arm: lib: Split asm symbols into different .text subsections Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 14:00   ` [U-Boot] [U-Boot, " Tom Rini
2016-06-03 16:02   ` [U-Boot] [PATCH " Stephen Warren
2016-05-26 16:01 ` [U-Boot] [PATCH 12/12] lib: Enable private libgcc by default Marek Vasut
2016-06-02 13:06   ` Tom Rini
2016-06-03 14:00   ` [U-Boot] [U-Boot,12/12] " Tom Rini
2016-06-06 17:35     ` Simon Glass
2016-06-06 17:46       ` Michael Zimmermann
2016-06-02 13:05 ` [U-Boot] [PATCH 01/12] arm: config: Introduce CONFIG_SYS_ARM_ARCH Tom Rini
2016-06-03 13:59 ` [U-Boot] [U-Boot, " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox