From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Sun, 24 Feb 2019 08:13:32 -0800 Subject: [U-Boot] [RFC 01/22] arm: introduce ARCH_THUNDERX In-Reply-To: <20190222180319.32221-2-tharvey@gateworks.com> References: <20190222180319.32221-1-tharvey@gateworks.com> <20190222180319.32221-2-tharvey@gateworks.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22.02.19 19:02, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > arch/arm/Kconfig | 6 +++--- > arch/arm/Makefile | 1 + > arch/arm/dts/Makefile | 2 +- > .../arm/include/asm/arch-thunderx}/atf.h | 2 +- > .../arm/include/asm/arch-thunderx}/atf_part.h | 0 > .../arm/include/asm/arch-thunderx}/thunderx_svc.h | 0 > arch/arm/include/asm/gpio.h | 2 +- > arch/arm/mach-thunderx/Makefile | 2 ++ > .../thunderx => arch/arm/mach-thunderx}/atf.c | 6 +++--- > board/cavium/thunderx/Kconfig | 15 ++++++++++++--- > board/cavium/thunderx/Makefile | 2 +- > board/cavium/thunderx/thunderx.c | 2 +- Is the official brand "Cavium" still alive? Should this be Marvell instead? Zi? Maen? > configs/thunderx_88xx_defconfig | 3 ++- > 13 files changed, 28 insertions(+), 15 deletions(-) > rename {include/cavium => arch/arm/include/asm/arch-thunderx}/atf.h (96%) > rename {include/cavium => arch/arm/include/asm/arch-thunderx}/atf_part.h (100%) > rename {include/cavium => arch/arm/include/asm/arch-thunderx}/thunderx_svc.h (100%) > create mode 100644 arch/arm/mach-thunderx/Makefile > rename {board/cavium/thunderx => arch/arm/mach-thunderx}/atf.c (98%) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index 1f3fa1575a..9f6f5a41da 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -393,7 +393,7 @@ config SPL_USE_ARCH_MEMSET > > config ARM64_SUPPORT_AARCH32 > bool "ARM64 system support AArch32 execution state" > - default y if ARM64 && !TARGET_THUNDERX_88XX > + default y if ARM64 && !ARCH_THUNDERX > help > This ARM64 system supports AArch32 execution state. > > @@ -1359,8 +1359,8 @@ config ARCH_ROCKCHIP > imply TPL_SYSRESET > imply USB_FUNCTION_FASTBOOT > > -config TARGET_THUNDERX_88XX > - bool "Support ThunderX 88xx" > +config ARCH_THUNDERX > + bool "Support ThunderX" This probably should be more explicit. I assume that ThunderX2 would have completely different properties, so better say "Support Marvell ThunderX 80xx/81xx/88xx series"? Alex