1 /* 2 * Copyright (c) 2013-2018 The Linux Foundation. All rights reserved. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for 5 * any purpose with or without fee is hereby granted, provided that the 6 * above copyright notice and this permission notice appear in all 7 * copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL 10 * WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED 11 * WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE 12 * AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL 13 * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 14 * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 15 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16 * PERFORMANCE OF THIS SOFTWARE. 17 */ 18 19 #ifndef _TARGET_TYPE_H_ 20 #define _TARGET_TYPE_H_ 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif /* __cplusplus */ 25 26 /* Header files */ 27 28 /* TARGET definition needs to be abstracted in fw common 29 * header files, below is the placeholder till WIN codebase 30 * moved to latest copy of fw common header files. 31 */ 32 #ifdef CONFIG_WIN 33 #define TARGET_TYPE_UNKNOWN 0 34 #define TARGET_TYPE_AR6001 1 35 #define TARGET_TYPE_AR6002 2 36 #define TARGET_TYPE_AR6003 3 37 #define TARGET_TYPE_AR6004 5 38 #define TARGET_TYPE_AR6006 6 39 #define TARGET_TYPE_AR9888 7 40 #define TARGET_TYPE_AR900B 9 41 #define TARGET_TYPE_QCA9984 10 42 #define TARGET_TYPE_IPQ4019 11 43 #define TARGET_TYPE_QCA9888 12 44 /* For attach Peregrine 2.0 board target_reg_tbl only */ 45 #define TARGET_TYPE_AR9888V2 13 46 /* For attach Rome1.0 target_reg_tbl only*/ 47 #define TARGET_TYPE_AR6320V1 14 48 /* For Rome2.0/2.1 target_reg_tbl ID*/ 49 #define TARGET_TYPE_AR6320V2 15 50 /* For Rome3.0 target_reg_tbl ID*/ 51 #define TARGET_TYPE_AR6320V3 16 52 /* For Tufello1.0 target_reg_tbl ID*/ 53 #define TARGET_TYPE_QCA9377V1 17 54 #endif /* CONFIG_WIN */ 55 #define TARGET_TYPE_AR6320 8 56 /* For Adrastea target */ 57 #define TARGET_TYPE_ADRASTEA 19 58 #ifndef TARGET_TYPE_QCA8074 59 #define TARGET_TYPE_QCA8074 20 60 #endif 61 #ifndef TARGET_TYPE_QCA6290 62 #define TARGET_TYPE_QCA6290 21 63 #endif 64 #ifndef TARGET_TYPE_QCN7605 65 #define TARGET_TYPE_QCN7605 22 66 #endif 67 #ifndef TARGET_TYPE_QCA6390 68 #define TARGET_TYPE_QCA6390 23 69 #endif 70 #ifndef TARGET_TYPE_QCA8074V2 71 #define TARGET_TYPE_QCA8074V2 24 72 #endif 73 74 #ifdef __cplusplus 75 } 76 #endif 77 78 #endif /* _TARGET_TYPE_H_ */ 79