Skip to content

Commit

Permalink
stm32f429-discovery: add CONFIG_SYS_THUMB_BUILD
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
albert-aribaud-u-boot committed Nov 10, 2015
1 parent 7bdf75c commit bf104ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/configs/stm32f429-discovery.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define __CONFIG_H

#define CONFIG_STM32F4
#define CONFIG_SYS_THUMB_BUILD
#define CONFIG_STM32F4DISCOVERY

#define CONFIG_OF_LIBFDT
Expand Down

0 comments on commit bf104ff

Please sign in to comment.