commit | c2e7888ecf02817e07f9e365d842e4eafb258e7e | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Sat Oct 30 23:03:48 2021 -0400 |
committer | Tom Rini <trini@konsulko.com> | Fri Nov 05 11:23:29 2021 -0400 |
tree | a7f02e9b9263540673647fcee8b80e986cd76c21 | |
parent | dcd6294a41d1fdf54a4e60840f5ab839a71abc98 [diff] |
spl: Make use of CONFIG_IS_ENABLED(OS_BOOT) in SPL/TPL common code paths 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 paths to ensure we only compile these parts in the SPL case. Signed-off-by: Tom Rini <trini@konsulko.com>