[ARM] 5025/2: fix collie cpu initialisation
[safe/jmp/linux-2.6] / include / asm-arm / vfp.h
index 9d474d4..5f9a2cb 100644 (file)
@@ -7,6 +7,8 @@
 
 #define FPSID                  cr0
 #define FPSCR                  cr1
+#define MVFR1                  cr6
+#define MVFR0                  cr7
 #define FPEXC                  cr8
 #define FPINST                 cr9
 #define FPINST2                        cr10
 #define FPSCR_IXC              (1<<4)
 #define FPSCR_IDC              (1<<7)
 
+/* MVFR0 bits */
+#define MVFR0_A_SIMD_BIT       (0)
+#define MVFR0_A_SIMD_MASK      (0xf << MVFR0_A_SIMD_BIT)
+
 /* Bit patterns for decoding the packaged operation descriptors */
 #define VFPOPDESC_LENGTH_BIT   (9)
 #define VFPOPDESC_LENGTH_MASK  (0x07 << VFPOPDESC_LENGTH_BIT)