From: Andrew Abbott Date: Sat, 16 Apr 2022 00:12:31 +0000 (+1000) Subject: fdt: Fix TPL SEPARATE_BSS check when locating DTB X-Git-Tag: baikal/mips/sdk5.9~3^2~85^2~5 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=a2a3e1f6168ab7edc5ac2195133ae643859c3012;p=uboot.git fdt: Fix TPL SEPARATE_BSS check when locating DTB Commit 5064a35a96cd52352f182e3eba0b746c1fb7cbb1 changed this condition from an explicit IS_ENABLED(CONFIG_SPL_SEPARATE_BSS) to CONFIG_IS_ENABLED(SEPARATE_BSS) The documentation for CONFIG_IS_ENABLED() in include/linux/kconfig.h implies that we will get the correct behaviour, but the actual behaviour differs such that this condition is now always false. This stopped TPL being able to load the device tree blob at least on the ROCKPro64 board (RK3399 SoC), since the wrong device tree location was chosen. The issues causing this behaviour with CONFIG_IS_ENABLED() are: 1. The documentation implies that CONFIG_SPL_BUILD => CONFIG_SPL_