summaryrefslogtreecommitdiff
path: root/drivers/qe/qe.h
diff options
context:
space:
mode:
authorZhao Qiang <B45475@freescale.com>2014-11-04 13:46:16 +0800
committerYork Sun <yorksun@freescale.com>2014-11-19 12:56:19 -0800
commit5632d15cf45a6e9f0559c80e1ca675d64f1650bc (patch)
tree907d12c3800076c344d1ce82f0a27291ccdbf984 /drivers/qe/qe.h
parentd8222dbe42e17c49c2f904400c711ef58e3e06d8 (diff)
downloadu-boot-imx-5632d15cf45a6e9f0559c80e1ca675d64f1650bc.zip
u-boot-imx-5632d15cf45a6e9f0559c80e1ca675d64f1650bc.tar.gz
u-boot-imx-5632d15cf45a6e9f0559c80e1ca675d64f1650bc.tar.bz2
u_qe: add u_qe_upload_firmware for u_qe
Signed-off-by: Zhao Qiang <B45475@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/qe/qe.h')
-rw-r--r--drivers/qe/qe.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/qe/qe.h b/drivers/qe/qe.h
index 30484b8..33878f8 100644
--- a/drivers/qe/qe.h
+++ b/drivers/qe/qe.h
@@ -275,7 +275,6 @@ void *qe_muram_addr(uint offset);
int qe_get_snum(void);
void qe_put_snum(u8 snum);
void qe_init(uint qe_base);
-void u_qe_init(void);
void qe_reset(void);
void qe_assign_page(uint snum, uint para_ram_base);
int qe_set_brg(uint brg, uint rate);
@@ -286,4 +285,9 @@ void ft_qe_setup(void *blob);
void qe_init(uint qe_base);
void qe_reset(void);
+#ifdef CONFIG_U_QE
+void u_qe_init(void);
+int u_qe_upload_firmware(const struct qe_firmware *firmware);
+#endif
+
#endif /* __QE_H__ */