summaryrefslogtreecommitdiff
path: root/drivers/qe/qe.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-04-05 00:27:57 +0200
committerWolfgang Denk <wd@denx.de>2009-04-05 00:27:57 +0200
commitc0a14aedc3440d6591b8c86d45861a0a8b46e11d (patch)
treef451e0641b2c9558ee2dbe0087ea340676f1ea2f /drivers/qe/qe.c
parentf63728c804ab7413a67d70f6774cd30c3f7b40fb (diff)
downloadu-boot-imx-c0a14aedc3440d6591b8c86d45861a0a8b46e11d.zip
u-boot-imx-c0a14aedc3440d6591b8c86d45861a0a8b46e11d.tar.gz
u-boot-imx-c0a14aedc3440d6591b8c86d45861a0a8b46e11d.tar.bz2
Update CHANGELOG, coding style cleanup.
Diffstat (limited to 'drivers/qe/qe.c')
-rw-r--r--drivers/qe/qe.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index ea5a14b..f114fe0 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -162,12 +162,13 @@ void qe_init(uint qe_base)
qe_immr = (qe_map_t *)qe_base;
#ifdef CONFIG_SYS_QE_FW_ADDR
- /* Upload microcode to IRAM for those SOCs which do not have ROM in QE.
- */
- qe_upload_firmware((const struct qe_firmware *) CONFIG_SYS_QE_FW_ADDR);
+ /*
+ * Upload microcode to IRAM for those SOCs which do not have ROM in QE.
+ */
+ qe_upload_firmware((const struct qe_firmware *) CONFIG_SYS_QE_FW_ADDR);
- /* enable the microcode in IRAM */
- out_be32(&qe_immr->iram.iready,QE_IRAM_READY);
+ /* enable the microcode in IRAM */
+ out_be32(&qe_immr->iram.iready,QE_IRAM_READY);
#endif
gd->mp_alloc_base = QE_DATAONLY_BASE;