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 > needed. > > Cc: Alexey Brodkin <alexey.brod...@synopsys.com> > Cc: Eugeniy Paltsev <eugeniy.palt...@synopsys.com> > Cc: Huan Wang <alison.w...@nxp.com> > Cc: Angelo Dureghello <ang...@sysam.it> > Cc: Rick Chen <r...@andestech.com> > Signed-off-by: Tom Rini <tr...@konsulko.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: PGP signature