Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom Add A*CACHE values for AMAC.



details:   https://anonhg.NetBSD.org/src/rev/9f7c852a66bd
branches:  trunk
changeset: 782282:9f7c852a66bd
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Oct 26 04:45:36 2012 +0000

description:
Add A*CACHE values for AMAC.

diffstat:

 sys/arch/arm/broadcom/bcm53xx_reg.h |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r 5f991c823de7 -r 9f7c852a66bd sys/arch/arm/broadcom/bcm53xx_reg.h
--- a/sys/arch/arm/broadcom/bcm53xx_reg.h       Fri Oct 26 04:45:03 2012 +0000
+++ b/sys/arch/arm/broadcom/bcm53xx_reg.h       Fri Oct 26 04:45:36 2012 +0000
@@ -640,6 +640,12 @@
 #define        IDM_RESET_STATUS                0x0804
 #define        IDM_INTERRUPT_STATUS            0x0a00
 
+#define        IO_CONTROL_DIRECT_ARCACHE       __BITS(19,16)
+#define        IO_CONTROL_DIRECT_AWCACHE       __BITS(10,7)
+#define        AXCACHE_WA                      __BIT(3)
+#define        AXCACHE_RA                      __BIT(2)
+#define        AXCACHE_C                       __BIT(1)
+#define        AXCACHE_B                       __BIT(0)
 #define        IO_CONTROL_DIRECT_UARTCLKSEL    __BIT(17)
 
 #define        RESET_CONTROL_RESET             __BIT(0)



Home | Main Index | Thread Index | Old Index