[PATCH 13/13] arm: stm32: Disable ATAGs support

Tom Rini trini at konsulko.com
Wed Feb 10 18:51:43 CET 2021


On Mon, Feb 08, 2021 at 05:34:50PM +0100, Patrick DELAUNAY wrote:

[snip]
> Just one question for other part of generic code which can be removed....
> 
> bi_boot_params should be under compilation BOOTM_ENABLE_TAGS flags ?
> 
> In include/asm-generic/u-boot.h:70
>     struct bd_info {
> 
>     ....
>         ulong            bi_boot_params;    /* where this board expects
> params */
> 
>     ...
> 
>     };
> 
> 
> and also params global variables, only used in setup_XXX functions ?
> 
>     arch/arm/lib/bootm.c:44:
>         static struct tag *params;

With some further cleanup work to introduce a single symbol to say
yes/no to ATAGS support, we could then cleanly condition out a few more
bits of code and save some space, yes.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210210/8e42ecc7/attachment-0001.sig>


More information about the U-Boot mailing list