Skip to content
Commit 17274d90 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

spl: Allow SPL/TPL to use of-platdata without libfdt



At present libfdt is included in SPL/TPL if SPL/TPL_OF_CONTROL is enabled.
But if of-platdata is in use this is not required. Update the condition to
avoid building this extra code. This ensures that if a libfdt function is
used it will produce a link error rather than silently increasing the
build size.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent ec22c365
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment