]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/renesas/alt/qos.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / renesas / alt / qos.c
index ea51f3f53295a0bd143118551e96d03ca718862c..f0b349f18f5fc91cc353ff2bbecd8f6f68e23575 100644 (file)
@@ -13,7 +13,8 @@
 #include <asm/io.h>
 #include <asm/arch/rmobile.h>
 
-/* QoS version 0.10 */
+#if defined(CONFIG_RMOBILE_EXTRAM_BOOT)
+/* QoS version 0.11 */
 
 enum {
        DBSC3_00, DBSC3_01, DBSC3_02, DBSC3_03, DBSC3_04,
@@ -156,8 +157,8 @@ void qos_init(void)
        }
 
        /* CCI-400 -QoS */
-       writel(0x20001000, CCI_400_MAXOT_1);
-       writel(0x20001000, CCI_400_MAXOT_2);
+       writel(0x20000800, CCI_400_MAXOT_1);
+       writel(0x20000800, CCI_400_MAXOT_2);
        writel(0x0000000C, CCI_400_QOSCNTL_1);
        writel(0x0000000C, CCI_400_QOSCNTL_2);
 
@@ -942,3 +943,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 */