diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2015-10-23 18:06:39 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2015-11-10 15:03:34 +0100 |
commit | bf104ffa2594e5bf14ef2d5ac2711084c763ef77 (patch) | |
tree | 4841824d9d91171c854cc2236166ebea40cbf788 /include/configs | |
parent | 7bdf75ca5cf253276e3cfcf5af8da9029e50790f (diff) |
stm32f429-discovery: add CONFIG_SYS_THUMB_BUILD
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 <albert.u.boot@aribaud.net>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/stm32f429-discovery.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/stm32f429-discovery.h b/include/configs/stm32f429-discovery.h index 17969952d1..8191fb2b8a 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_OF_LIBFDT |