[PATCH 4/4] global_data: Ensure we have <config.h> when symbols are not in Kconfig yet
trini at konsulko.com
Thu Jun 24 15:15:40 CEST 2021
On Thu, Jun 03, 2021 at 09:39:02AM -0400, Tom Rini wrote:
> All symbols that are defined in Kconfig will always be defined (or not)
> prior to preprocessing due to the -include directive while building.
> However, symbols which are not yet migrated will only be defined (or
> not) once the board config.h is included, via <config.h>. While the end
> goal must be to migrate all symbols, today we have cases where the size
> of gd will get mismatched within the build, based on include order.
> Mitigate this by making sure that any <asm/global_data.h> that uses
> symbols not in Kconfig does start with <config.h>. Remove this when not
> Cc: Alexey Brodkin <alexey.brodkin at synopsys.com>
> Cc: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
> Cc: Huan Wang <alison.wang at nxp.com>
> Cc: Angelo Dureghello <angelo at sysam.it>
> Cc: Rick Chen <rick at andestech.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
Applied to u-boot/master, thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 659 bytes
Desc: not available
More information about the U-Boot