developer | 1b2375f | 2023-08-31 14:38:35 +0800 | [diff] [blame] | 1 | menu "TOPS Configurations" |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 2 | depends on PACKAGE_kmod-tops |
| 3 | |
developer | 1b2375f | 2023-08-31 14:38:35 +0800 | [diff] [blame] | 4 | choice |
| 5 | prompt "TOPS Build Target" |
| 6 | default MTK_TOPS_RELEASE_TARGET |
| 7 | help |
| 8 | select TOPS build target. Either release or developing target |
| 9 | |
| 10 | config MTK_TOPS_RELEASE_TARGET |
| 11 | bool "MTK TOPS Release Target Build" |
| 12 | select PACKAGE_kmod-tops-release |
developer | abca4bb | 2023-09-07 12:33:26 +0800 | [diff] [blame] | 13 | select PACKAGE_tops-rebb-fw-release |
developer | 1b2375f | 2023-08-31 14:38:35 +0800 | [diff] [blame] | 14 | |
| 15 | config MTK_TOPS_DEV_TARGET |
| 16 | bool "MTK TOPS Developing Target Build" |
| 17 | select PACKAGE_kmod-tops-dev |
| 18 | select PACKAGE_tops-rebb-fw-dev |
| 19 | endchoice |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 20 | |
| 21 | choice |
| 22 | prompt "TOPS Tunnel Count" |
| 23 | default TOPS_TNL_32 |
| 24 | help |
| 25 | Determine number of TOPS tunnel |
| 26 | |
| 27 | config TOPS_TNL_32 |
| 28 | bool "32 TOPS Tunnel" |
| 29 | |
| 30 | endchoice |
| 31 | |
developer | 1b2375f | 2023-08-31 14:38:35 +0800 | [diff] [blame] | 32 | source "$(SOURCE)/Config-protocols.in" |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 33 | |
| 34 | config TOPS_TNL_NUM |
| 35 | int |
| 36 | default 32 if TOPS_TNL_32 |
| 37 | help |
| 38 | Configuration for TOPS tunnel count. This value should be |
| 39 | 2 ^ TOPS_TNL_MAP_BIT. |
| 40 | |
| 41 | config TOPS_TNL_MAP_BIT |
| 42 | int |
| 43 | default 5 if TOPS_TNL_32 |
| 44 | help |
| 45 | Configuration for TOPS tunnel map bit. This value should be the log |
| 46 | of TOPS_TNL_NUM. |
| 47 | |
developer | 0fb30d5 | 2023-12-04 09:51:36 +0800 | [diff] [blame] | 48 | config TOPS_TNL_TYPE_NUM |
| 49 | int |
| 50 | default 32 if TARGET_mediatek_mt7988 |
| 51 | |
developer | 1b2375f | 2023-08-31 14:38:35 +0800 | [diff] [blame] | 52 | config MTK_TOPS_SECURE_FW |
| 53 | bool "TOPS Secure Firmware Load" |
| 54 | default n |
| 55 | help |
| 56 | Enable TOPS secure firmware load |
| 57 | |
developer | e5e687d | 2023-08-08 16:05:33 +0800 | [diff] [blame] | 58 | endmenu |