summaryrefslogtreecommitdiff
path: root/board/renesas/koelsch/qos.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-11-05 13:11:18 -0500
committerTom Rini <trini@ti.com>2014-11-05 13:11:18 -0500
commit11ada9225a16ed2d8ddbf0715a2416245a777cbc (patch)
tree85e53709f6296a1929835550f4d4b31bf4616754 /board/renesas/koelsch/qos.c
parent625509ab0edbb7d943ad9028de3c21ca48aa58be (diff)
parent9cb8d9d2e0a34582f55939cbb9b2989633f24b34 (diff)
downloadu-boot-imx-11ada9225a16ed2d8ddbf0715a2416245a777cbc.zip
u-boot-imx-11ada9225a16ed2d8ddbf0715a2416245a777cbc.tar.gz
u-boot-imx-11ada9225a16ed2d8ddbf0715a2416245a777cbc.tar.bz2
Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh
Diffstat (limited to 'board/renesas/koelsch/qos.c')
-rw-r--r--board/renesas/koelsch/qos.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/board/renesas/koelsch/qos.c b/board/renesas/koelsch/qos.c
index ecf3eed..d293e3d 100644
--- a/board/renesas/koelsch/qos.c
+++ b/board/renesas/koelsch/qos.c
@@ -14,7 +14,7 @@
#include <asm/arch/rmobile.h>
/* QoS version 0.240 for ES1 and version 0.334 for ES2 */
-
+#if defined(CONFIG_RMOBILE_EXTRAM_BOOT)
enum {
DBSC3_00, DBSC3_01, DBSC3_02, DBSC3_03, DBSC3_04,
DBSC3_05, DBSC3_06, DBSC3_07, DBSC3_08, DBSC3_09,
@@ -1304,3 +1304,8 @@ void qos_init(void)
writel(0x00000001, &axi_qos->qosthres2);
writel(0x00000001, &axi_qos->qosqon);
}
+#else /* CONFIG_RMOBILE_EXTRAM_BOOT */
+void qos_init(void)
+{
+}
+#endif /* CONFIG_RMOBILE_EXTRAM_BOOT */