From 93d3320417b16f331d5edb87409cd7a347c4eeaa Mon Sep 17 00:00:00 2001 From: Zhao Qiang Date: Thu, 25 Sep 2014 13:52:25 +0800 Subject: qe: add u-qe support to arm board ls1021 is arm-core and support qe which is u-qe. add u-qe init for arm board. Signed-off-by: Zhao Qiang [York Sun: Fix compiling error caused by u_qe_init()] Reviewed-by: York Sun --- drivers/qe/fdt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/qe/fdt.c') diff --git a/drivers/qe/fdt.c b/drivers/qe/fdt.c index d9a7d82..dfae4bf 100644 --- a/drivers/qe/fdt.c +++ b/drivers/qe/fdt.c @@ -12,6 +12,7 @@ #include #include "qe.h" +#ifdef CONFIG_QE DECLARE_GLOBAL_DATA_PTR; /* @@ -72,3 +73,4 @@ void ft_qe_setup(void *blob) "clock-frequency", gd->arch.qe_clk / 2, 1); fdt_fixup_qe_firmware(blob); } +#endif -- cgit v1.1