
10 Feb
2021
10 Feb
'21
6:51 p.m.
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