[U-Boot] rockchip: spl-boot-order: update dependency to OF_LIBFDT
diff mbox series

Message ID 20190717101508.19978-1-kever.yang@rock-chips.com
State Accepted
Commit 032906a858d41a83bf290f144243a1e6be5918fc
Delegated to: Kever Yang
Headers show
Series
  • [U-Boot] rockchip: spl-boot-order: update dependency to OF_LIBFDT
Related show

Commit Message

Kever Yang July 17, 2019, 10:15 a.m. UTC
The fdt interfaces are actuall depends on OF_LIBFDT instead
of OF_CONTROL, some boards may enable OF_CONTROL while disable
OF_LIBFDT.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

 arch/arm/mach-rockchip/spl-boot-order.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c
index 0e485deda2..c19c285c07 100644
--- a/arch/arm/mach-rockchip/spl-boot-order.c
+++ b/arch/arm/mach-rockchip/spl-boot-order.c
@@ -8,7 +8,7 @@ 
 #include <mmc.h>
 #include <spl.h>
 
-#if CONFIG_IS_ENABLED(OF_CONTROL)
+#if CONFIG_IS_ENABLED(OF_LIBFDT)
 /**
  * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device
  * @node:	of_offset of the node