[PATCH] arm: Enable SYS_THUMB_BUILD on AT91

Eugen Hristev eugen.hristev at collabora.com
Thu Nov 16 21:42:26 CET 2023


On 11/16/23 20:47, Tom Rini wrote:
> On Sat, Nov 04, 2023 at 10:27:42PM -0400, Sean Anderson wrote:
> 
>> Several AT91 boards are quite close to their SPL size limit. For example,
>> sama5d27_wlsom1_ek_mmc is just 173 bytes short of its limit and doesn't
>> even fit with older GCCs.
>>
>> All AT91 processors should have thumb support. Enable SYS_THUMB_BUILD. This
>> shrinks SPL by around 30%.
>>
>> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
>> ---
>> This has been BUILD TESTED ONLY!
> 
> We in turn need this for Sean's other cleanup series to go in. Is this
> OK? Would it be safer if it was only for CPU_V7A ? I do have
> recollections of thumb being sometimes buggy prior to v7a cores. Thanks!
> 

Hi Tom,

I would like this to be tested on a few boards at least. There are 
boards with Cortex A5, A7 and ARM926 which are important, one of each of 
them and booting Linux should be enough I think.
Nicolas, Aubin ? I remember you guys have also a CI tool that is fairly 
easy to use if you just push a branch/commit.

+ Mihai as well.

Eugen


More information about the U-Boot mailing list