Re: [PATCH 01/10] spl: Make use of CONFIG_IS_ENABLED(OS_BOOT) in SPL/TPL common code paths

2021-11-05 Thread Tom Rini
On Sat, Oct 30, 2021 at 11:03:48PM -0400, Tom Rini wrote: > When building a system that has both TPL and SPL_OS_BOOT, code which > tests for CONFIG_SPL_OS_BOOT will be built and enabled in TPL, which is > not correct. While there is no CONFIG_TPL_OS_BOOT symbol at this time > (and likely will not

[PATCH 01/10] spl: Make use of CONFIG_IS_ENABLED(OS_BOOT) in SPL/TPL common code paths

2021-10-30 Thread Tom Rini
When building a system that has both TPL and SPL_OS_BOOT, code which tests for CONFIG_SPL_OS_BOOT will be built and enabled in TPL, which is not correct. While there is no CONFIG_TPL_OS_BOOT symbol at this time (and likely will not ever be) we can use CONFIG_IS_ENABLED(OS_BOOT) in these common pat