summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2024-11-02 11:49:41 -0600
committerTom Rini <[email protected]>2024-12-18 15:16:55 -0600
commit447f18d00de80384df334acdbe5972762d3d1e1e (patch)
treeb05b082fc802dc76c5b36d5b13674d271a97d095 /lib
parentb066ac51e0430966d8028bcdfa12f461d9013f57 (diff)
fdt: Correct condition for receiving bloblist
The condition for receiving a bloblist from TPL is reversed. This was only noticed are the other fixes landed. Fix it. Signed-off-by: Simon Glass <[email protected]> Reviewed-by: Matthias Brugger <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/fdtdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index b0655988029..60e28173c03 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -1677,7 +1677,7 @@ int fdtdec_setup(void)
*/
if (CONFIG_IS_ENABLED(BLOBLIST) &&
(xpl_prev_phase() != PHASE_TPL ||
- !IS_ENABLED(CONFIG_TPL_BLOBLIST))) {
+ IS_ENABLED(CONFIG_TPL_BLOBLIST))) {
ret = bloblist_maybe_init();
if (!ret) {
gd->fdt_blob = bloblist_find(BLOBLISTT_CONTROL_FDT, 0);