summaryrefslogtreecommitdiff
path: root/drivers
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
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')
-rw-r--r--drivers/block/mg_disk_prv.h1
-rw-r--r--drivers/qe/qe.c11
-rw-r--r--drivers/rtc/s3c44b0_rtc.c1
-rw-r--r--drivers/serial/serial_lpc2292.c1
4 files changed, 6 insertions, 8 deletions
diff --git a/drivers/block/mg_disk_prv.h b/drivers/block/mg_disk_prv.h
index 8f22e28..43e90ea 100644
--- a/drivers/block/mg_disk_prv.h
+++ b/drivers/block/mg_disk_prv.h
@@ -142,4 +142,3 @@ struct mg_host {
#endif /* CONFIG_MG_DEBUG */
#endif
-
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;
diff --git a/drivers/rtc/s3c44b0_rtc.c b/drivers/rtc/s3c44b0_rtc.c
index 489536f..bfb744a 100644
--- a/drivers/rtc/s3c44b0_rtc.c
+++ b/drivers/rtc/s3c44b0_rtc.c
@@ -99,4 +99,3 @@ void rtc_reset (void)
BCDSEC = 0;
RTCCON &= 1;
}
-
diff --git a/drivers/serial/serial_lpc2292.c b/drivers/serial/serial_lpc2292.c
index 87b7d5f..e3a60b6 100644
--- a/drivers/serial/serial_lpc2292.c
+++ b/drivers/serial/serial_lpc2292.c
@@ -102,4 +102,3 @@ int serial_tstc (void)
{
return (GET8(U0LSR) & 1);
}
-