Skip to content
Snippets Groups Projects
Commit 7115007c authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarTom Rini <trini@konsulko.com>
parent 2ad74301
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment