ARM: keystone2: keysonte_nav: add support for K2L SoC
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Wed, 29 Oct 2014 11:09:31 +0000 (13:09 +0200)
committerTom Rini <trini@ti.com>
Wed, 5 Nov 2014 18:09:42 +0000 (13:09 -0500)
The Keystone2 Lamar SoC uses the same keystone navigator.
Move queue numbers to common hardware file, as all Keystone2 SoCs
have the same ones.

Acked-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
arch/arm/include/asm/arch-keystone/hardware-k2e.h
arch/arm/include/asm/arch-keystone/hardware-k2hk.h
arch/arm/include/asm/arch-keystone/hardware.h

index 9512756619b3eae14075a9d36b756ac46ae4bdaa..df499957e54df2023606ae8669fb015c5d87340f 100644 (file)
@@ -57,8 +57,6 @@
 #define KS2_NETCP_PDMA_SCHED_BASE      0x24186100
 #define KS2_NETCP_PDMA_RX_FLOW_BASE    0x24189000
 #define KS2_NETCP_PDMA_RX_FLOW_NUM     96
-#define KS2_NETCP_PDMA_RX_FREE_QUEUE   4001
-#define KS2_NETCP_PDMA_RX_RCV_QUEUE    4002
 #define KS2_NETCP_PDMA_TX_SND_QUEUE    896
 
 /* NETCP */
index 5a9ea4fbca56dd089af020ab55a9c91c2c3dd2d2..195c0d300396dbed07898089595e676c761ee791 100644 (file)
@@ -98,8 +98,6 @@
 #define KS2_NETCP_PDMA_SCHED_BASE      0x02004c00
 #define KS2_NETCP_PDMA_RX_FLOW_BASE    0x02005000
 #define KS2_NETCP_PDMA_RX_FLOW_NUM     32
-#define KS2_NETCP_PDMA_RX_FREE_QUEUE   4001
-#define KS2_NETCP_PDMA_RX_RCV_QUEUE    4002
 #define KS2_NETCP_PDMA_TX_SND_QUEUE    648
 
 /* NETCP */
index c6a54d8b91bac618df69390599f6af73d44d5fb5..be22bdb1ca2c0502f7e30fc7363ede26b4d0aeba 100644 (file)
@@ -122,6 +122,10 @@ typedef volatile unsigned int   *dv_reg_p;
 #define KS2_EDMA_QEESR                 0x108c
 #define KS2_EDMA_PARAM_1(x)            (0x4020 + (4 * x))
 
+/* NETCP pktdma */
+#define KS2_NETCP_PDMA_RX_FREE_QUEUE   4001
+#define KS2_NETCP_PDMA_RX_RCV_QUEUE    4002
+
 /* Chip Interrupt Controller */
 #define KS2_CIC2_BASE                  0x02608000