From: Albert ARIBAUD Date: Tue, 20 Oct 2015 13:31:38 +0200 Subject: [U-Boot] [PATCH v6 1/5] stm32f429-discovery: add CONFIG_SYS_THUMB_BUILD In-Reply-To: <1445340702-32248-1-git-send-email-albert.u.boot@aribaud.net> References: <1445340702-32248-1-git-send-email-albert.u.boot@aribaud.net> Message-ID: <1445340702-32248-2-git-send-email-albert.u.boot@aribaud.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 v6: None 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 19d9cf9..e773de4 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 -- 2.1.4