mov pc, lr
ENDPROC(vfp_save_state)
+#ifdef CONFIG_ARCH_RK29
+ENTRY(vfp_load_state)
+ @ Save the current VFP state
+ @ r0 - save location
+ @ r1 - FPEXC
+ DBGSTR1 "save VFP state %p", r0
+ VFPFLDMIA r0, r2 @ save the working registers
+ ldmia r0, {r1,r2,r3,r12}
+ tst r1, #FPEXC_EX @ is there additional state to save?
+ beq 1f
+ tst r1, #FPEXC_FP2V @ is there an FPINST2 to read?
+ beq 1f
+1:
+ VFPFMXR FPSCR, r2
+ VFPFMXR FPEXC, r1
+ mov pc, lr
+ENDPROC(vfp_load_state)
+#endif
+
.align
- last_VFP_context_address:
- .word last_VFP_context
+ vfp_current_hw_state_address:
+ .word vfp_current_hw_state
.macro tbl_branch, base, tmp, shift
#ifdef CONFIG_THUMB2_KERNEL
#define SAMSUNG_VENDOR_ID 0x04e8
#define SAMSUNG_PRODUCT_GT_B3730 0x6889
+/* leadcore LC1808*/
+#define LEADCORE_VENDOR_ID 0x1ab7
+#define LEADCORE_PRODUCT_LC1808 0x2200
+/*展讯模组*/
+#define SC8800G_VENDOR_ID 0x067b
+#define SC8800G_PRODUCT_ID 0x2303
+
+ /* YUGA products www.yuga-info.com*/
+ #define YUGA_VENDOR_ID 0x257A
+ #define YUGA_PRODUCT_CEM600 0x1601
+ #define YUGA_PRODUCT_CEM610 0x1602
+ #define YUGA_PRODUCT_CEM500 0x1603
+ #define YUGA_PRODUCT_CEM510 0x1604
+ #define YUGA_PRODUCT_CEM800 0x1605
+ #define YUGA_PRODUCT_CEM900 0x1606
+
+ #define YUGA_PRODUCT_CEU818 0x1607
+ #define YUGA_PRODUCT_CEU816 0x1608
+ #define YUGA_PRODUCT_CEU828 0x1609
+ #define YUGA_PRODUCT_CEU826 0x160A
+ #define YUGA_PRODUCT_CEU518 0x160B
+ #define YUGA_PRODUCT_CEU516 0x160C
+ #define YUGA_PRODUCT_CEU528 0x160D
+ #define YUGA_PRODUCT_CEU526 0x160F
+
+ #define YUGA_PRODUCT_CWM600 0x2601
+ #define YUGA_PRODUCT_CWM610 0x2602
+ #define YUGA_PRODUCT_CWM500 0x2603
+ #define YUGA_PRODUCT_CWM510 0x2604
+ #define YUGA_PRODUCT_CWM800 0x2605
+ #define YUGA_PRODUCT_CWM900 0x2606
+
+ #define YUGA_PRODUCT_CWU718 0x2607
+ #define YUGA_PRODUCT_CWU716 0x2608
+ #define YUGA_PRODUCT_CWU728 0x2609
+ #define YUGA_PRODUCT_CWU726 0x260A
+ #define YUGA_PRODUCT_CWU518 0x260B
+ #define YUGA_PRODUCT_CWU516 0x260C
+ #define YUGA_PRODUCT_CWU528 0x260D
+ #define YUGA_PRODUCT_CWU526 0x260F
+
+ #define YUGA_PRODUCT_CLM600 0x2601
+ #define YUGA_PRODUCT_CLM610 0x2602
+ #define YUGA_PRODUCT_CLM500 0x2603
+ #define YUGA_PRODUCT_CLM510 0x2604
+ #define YUGA_PRODUCT_CLM800 0x2605
+ #define YUGA_PRODUCT_CLM900 0x2606
+
+ #define YUGA_PRODUCT_CLU718 0x2607
+ #define YUGA_PRODUCT_CLU716 0x2608
+ #define YUGA_PRODUCT_CLU728 0x2609
+ #define YUGA_PRODUCT_CLU726 0x260A
+ #define YUGA_PRODUCT_CLU518 0x260B
+ #define YUGA_PRODUCT_CLU516 0x260C
+ #define YUGA_PRODUCT_CLU528 0x260D
+ #define YUGA_PRODUCT_CLU526 0x260F
+
/* some devices interfaces need special handling due to a number of reasons */
enum option_blacklist_reason {
OPTION_BLACKLIST_NONE = 0,