hqsys_pcba.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #ifndef HQSYS_PCBA
  2. #define HQSYS_PCBA
  3. #if defined(TARGET_PRODUCT_LANCELOT) || defined(TARGET_PRODUCT_SHIVA)
  4. typedef enum {
  5. PCBA_UNKNOW = 0,
  6. PCBA_J19_P0_1_CN = 0x10,
  7. PCBA_J19_P0_1_INDIA,
  8. PCBA_J19_P0_1_GLOBAL,
  9. PCBA_J19_P1_CN,
  10. PCBA_J19_P1_INDIA,
  11. PCBA_J19_P1_GLOBAL,
  12. PCBA_J19_P2_CN,
  13. PCBA_J19_P2_INDIA,
  14. PCBA_J19_P2_GLOBAL,
  15. PCBA_J19_MP_CN,
  16. PCBA_J19_MP_CN_SP01T,
  17. PCBA_J19_MP_INDIA,
  18. PCBA_J19_MP_GLOBAL,
  19. PCBA_J19_END,
  20. PCBA_J19A_P0_1_GLOBAL = 0x30,
  21. PCBA_J19A_P1_GLOBAL,
  22. PCBA_J19A_P2_GLOBAL,
  23. PCBA_J19A_MP_GLOBAL,
  24. PCBA_J19A_END,
  25. PCBA_J19P_P2_INDIA = 0x50,
  26. PCBA_J19P_MP_INDIA,
  27. PCBA_J19P_END,
  28. PCBA_J19P_POCO_MP_INDIA = 0x70,
  29. PCBA_J19P_POCO_END,
  30. PCBA_END,
  31. } PCBA_CONFIG;
  32. typedef enum {
  33. PCBA_J19_UNKNOW = 0,
  34. PCBA_J19_CN,
  35. PCBA_J19_CN_SP10T,
  36. PCBA_J19_INDIA,
  37. PCBA_J19_GLOBAL,
  38. PCBA_J19A_GLOBAL,
  39. PCBA_J19P_INDIA,
  40. PCBA_J19P_POCO_INDIA,
  41. } PCBA_J19_CONFIG;
  42. #else
  43. typedef enum {
  44. PCBA_UNKNOW = 0,
  45. PCBA_J15S_P0_CN = 0x10,
  46. PCBA_J15S_P1_CN,
  47. PCBA_J15S_P1_1_CN,
  48. PCBA_J15S_P2_CN,
  49. PCBA_J15S_MP_CN,
  50. PCBA_J15S_CN_NEW_PA,
  51. PCBA_J15S_CN_END = 0x2F,
  52. PCBA_J15S_P0_INDIA = 0x30,
  53. PCBA_J15S_P1_INDIA,
  54. PCBA_J15S_P1_1_INDIA,
  55. PCBA_J15S_P2_INDIA,
  56. PCBA_J15S_MP_INDIA,
  57. PCBA_J15S_INDIA_END = 0x4F,
  58. PCBA_J15S_P0_GLOBAL = 0x50,
  59. PCBA_J15N_P1_1_GLOBAL_NFC,
  60. PCBA_J15S_P2_GLOBAL,
  61. PCBA_J15N_P2_GLOBAL_NFC,
  62. PCBA_J15S_P2_1_GLOBAL,
  63. PCBA_J15N_P2_1_GLOBAL_NFC,
  64. PCBA_J15S_MP_GLOBAL,
  65. PCBA_J15N_MP_GLOBAL_NFC,
  66. PCBA_J15S_GLOBAL_END = 0x6F,
  67. PCBA_END,
  68. } PCBA_CONFIG;
  69. #endif
  70. extern PCBA_CONFIG huaqin_pcba_config;
  71. struct pcba_info {
  72. PCBA_CONFIG pcba_config;
  73. char pcba_name[32];
  74. };
  75. PCBA_CONFIG get_huaqin_pcba_config(void);
  76. #endif