From patchwork Fri Jul 17 20:50:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Albert ARIBAUD X-Patchwork-Id: 497266 X-Patchwork-Delegate: albert.aribaud@free.fr Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 3464F140295 for ; Sat, 18 Jul 2015 06:51:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 593414B61D; Fri, 17 Jul 2015 22:51:33 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pVuGCky9WMqy; Fri, 17 Jul 2015 22:51:33 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EB22A4B615; Fri, 17 Jul 2015 22:51:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3C96C4B615 for ; Fri, 17 Jul 2015 22:51:31 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ApDlMLvCLGnq for ; Fri, 17 Jul 2015 22:51:31 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by theia.denx.de (Postfix) with ESMTPS id 157D34A039 for ; Fri, 17 Jul 2015 22:51:27 +0200 (CEST) Received: from localhost.localdomain (unknown [82.235.144.2]) (Authenticated sender: aribaud.smtp) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 1CC674B028B; Fri, 17 Jul 2015 22:51:21 +0200 (CEST) From: Albert ARIBAUD To: u-boot@lists.denx.de, Thomas Weber , Prafulla Wadaskar Date: Fri, 17 Jul 2015 22:50:45 +0200 Message-Id: <1437166249-17209-2-git-send-email-albert.u.boot@aribaud.net> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1437166249-17209-1-git-send-email-albert.u.boot@aribaud.net> References: <1437166249-17209-1-git-send-email-albert.u.boot@aribaud.net> Cc: Tom Rini , Kamil Lulko Subject: [U-Boot] [PATCH v5 1/5] stm32f429-discovery: add CONFIG_SYS_THUMB_BUILD X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This target is ARMv7-M therefore can only build for Thumb, but it did not #define CONFIG_SYS_THUMB_BUILD, so the U-Boot code did not know it had to build for Thumb(2), not ARM. This patch is binary-invariant: builds of stm32f429-discovery with and without this patch were compared and found to differ only by their U-Boot version strings. Signed-off-by: Albert ARIBAUD --- Changes in v5: None Changes in v4: - Made stm32f429-discovery explicitly state that it builds for Thumb Changes in v3: None Changes in v2: None include/configs/stm32f429-discovery.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h index 1b4fd21..f481767 100644 --- a/include/configs/stm32f429-discovery.h +++ b/include/configs/stm32f429-discovery.h @@ -9,6 +9,7 @@ #define __CONFIG_H #define CONFIG_STM32F4 +#define CONFIG_SYS_THUMB_BUILD #define CONFIG_STM32F4DISCOVERY #define CONFIG_SYS_GENERIC_BOARD