[U-Boot] [PATCH 1/1] arm: Migrate SYS_THUMB_BUILD to Kconfig, introduce SPL_SYS_THUMB_BUILD

Siarhei Siamashka siarhei.siamashka at gmail.com
Mon Mar 6 22:44:59 UTC 2017


Hi Tom,

On Mon,  6 Mar 2017 13:50:10 -0500
Tom Rini <trini at konsulko.com> wrote:

> Today, we have cases where we wish to build all of U-Boot in Thumb2 mode for
> various reasons.  We also have cases where we only build SPL in Thumb2 mode due
> to size constraints and wish to build the rest of the system in ARM mode.

Is there a good real world example of this particular use case? Even if
there is enough space for having the U-Boot binary built in ARM mode,
Thumb2 is still smaller and loads faster. And having reduced boot time
is always nice.

> So in this migration we introduce a new symbol as well, SPL_SYS_THUMB_BUILD to
> control if we build everything or just SPL (or in theory, just U-Boot) in
> Thumb2 mode.
> 
> Signed-off-by: Tom Rini <trini at konsulko.com>

[...]

-- 
Best regards,
Siarhei Siamashka


More information about the U-Boot mailing list