summaryrefslogtreecommitdiff
path: root/drivers/qe/fdt.c
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2014-09-25 13:52:25 +0800
committerYork Sun <yorksun@freescale.com>2014-11-19 12:55:45 -0800
commit93d3320417b16f331d5edb87409cd7a347c4eeaa (patch)
tree8713b948e78aa24b73b2a34818e1cb04544e72e3 /drivers/qe/fdt.c
parentf196044dfd64745a163773c6c746f9e149ace127 (diff)
downloadu-boot-imx-93d3320417b16f331d5edb87409cd7a347c4eeaa.zip
u-boot-imx-93d3320417b16f331d5edb87409cd7a347c4eeaa.tar.gz
u-boot-imx-93d3320417b16f331d5edb87409cd7a347c4eeaa.tar.bz2
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 <B45475@freescale.com> [York Sun: Fix compiling error caused by u_qe_init()] Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/qe/fdt.c')
-rw-r--r--drivers/qe/fdt.c2
1 files changed, 2 insertions, 0 deletions
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 <fdt_support.h>
#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