
27 Mar
2018
27 Mar
'18
11:29 a.m.
The "fdt_*" functions may not enable even if the OF_CONTROL is enabled.
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 --git a/arch/arm/mach-rockchip/spl-boot-order.c b/arch/arm/mach-rockchip/spl-boot-order.c index 843998d..cf4cc77 100644 --- a/arch/arm/mach-rockchip/spl-boot-order.c +++ b/arch/arm/mach-rockchip/spl-boot-order.c @@ -9,7 +9,7 @@ #include <mmc.h> #include <spl.h>
-#if CONFIG_IS_ENABLED(OF_CONTROL) +#if CONFIG_IS_ENABLED(OF_CONTROL) && !CONFIG_IS_ENABLED(OF_PLATDATA) /** * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device * @node: of_offset of the node
--
1.9.1