Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D23C4C432BE for ; Sat, 7 Aug 2021 13:09:09 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CEBA060C3F for ; Sat, 7 Aug 2021 13:09:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CEBA060C3F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7633083219; Sat, 7 Aug 2021 15:08:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gerhold.net header.i=@gerhold.net header.b="lqHDa8tO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 894F882CDE; Sat, 7 Aug 2021 15:07:57 +0200 (CEST) Received: from mo4-p02-ob.smtp.rzone.de (mo4-p02-ob.smtp.rzone.de [85.215.255.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D665882C55 for ; Sat, 7 Aug 2021 15:07:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=stephan@gerhold.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1628341661; s=strato-dkim-0002; d=gerhold.net; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=Aq7Y7lMa6IdKrKZ9hVhhaW0GmDwOJxAYrQnqU/9QaXc=; b=lqHDa8tObN32zLGf692V25jUSrIVqF5JxrxdNRmRQ6QjNeB5PezFY72nC2nBCjRvUq aNF19HQAz0agMpsRyjYd0D3so78omkQMC7HWP3VjDxEHa3vvt3ZNQPxkJPGMwqmo8red 83urXPQ+OgpWv1bb9jEHS+3tZoPw5yqkZbnU175ikrQuVWEhVayB0Qa82J9gG3S1Q3Sk otZ6n1R6CXCU5XyWJB721s+X23AV3Ju0J/Tht8E1YBhwlKt+O6TeNzK9rKB4I1KweZAO ZeLA3J6FUZr4Gsr/7ikmqrF1p0ICjvKK+wtUL+pKfPXVloDZsVsVI1XrtDCE3UFbzyPO VL1w== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVORvLd4SsytBXTbAOHjRHIhr0eFeAWj8=" X-RZG-CLASS-ID: mo00 Received: from droid.. by smtp.strato.de (RZmta 47.31.0 DYNA|AUTH) with ESMTPSA id L01e9cx77D7fHnu (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sat, 7 Aug 2021 15:07:41 +0200 (CEST) From: Stephan Gerhold To: u-boot@lists.denx.de Cc: Linus Walleij , Tom Rini , Stephan Gerhold Subject: [PATCH 7/7] arm: u8500: Prefer building in thumb mode by default Date: Sat, 7 Aug 2021 15:07:24 +0200 Message-Id: <20210807130724.155675-8-stephan@gerhold.net> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210807130724.155675-1-stephan@gerhold.net> References: <20210807130724.155675-1-stephan@gerhold.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Enabling CONFIG_SYS_THUMB_BUILD produces a significantly smaller U-Boot binary (250 KiB vs 320 KiB) that still seems to be fully functional. Make use of that by default but keep it as "imply" so it can be disabled for testing in case this causes trouble for someone. Signed-off-by: Stephan Gerhold --- arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index dd223ada57..28cd3c85d2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1050,6 +1050,7 @@ config ARCH_U8500 imply PL01X_SERIAL imply PMIC_AB8500 imply RTC_PL031 + imply SYS_THUMB_BUILD imply SYSRESET_SYSCON config ARCH_VERSAL -- 2.32.0