diff mbox series

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

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 | expand

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(-)
diff mbox series

Patch

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