blob: b76fc0b815685d667918e99886ea332493a5504d [file] [log] [blame]
developere5e687d2023-08-08 16:05:33 +08001menu "TOPS configuration"
2 depends on PACKAGE_kmod-tops
3
4source "Config-protocols.in"
5
6choice
7 prompt "TOPS Tunnel Count"
8 default TOPS_TNL_32
9 help
10 Determine number of TOPS tunnel
11
12config TOPS_TNL_32
13 bool "32 TOPS Tunnel"
14
15endchoice
16
17choice
18 prompt "TOPS Firmware Target"
19 default MTK_TOPS_FIRMWARE_RELEASE
20 help
21 Select TOPS firmware target. Either release or latest firmware
22
23config MTK_TOPS_FIRMWARE_RELEASE
24 bool "MTK TOPS Firmware Release Build"
25 select PACKAGE_tops-rebb-fw-release
26
27config MTK_TOPS_FIRMWARE_LATEST
28 bool "MTK TOPS Firmware Latest Build"
29 select PACKAGE_tops-rebb-fw
30
31endchoice
32
33config MTK_TOPS_SECURE_FW
34 bool "TOPS Secure Firmware Load"
35 default n
36 help
37 Enable TOPS secure firmware load
38
39config TOPS_TNL_NUM
40 int
41 default 32 if TOPS_TNL_32
42 help
43 Configuration for TOPS tunnel count. This value should be
44 2 ^ TOPS_TNL_MAP_BIT.
45
46config TOPS_TNL_MAP_BIT
47 int
48 default 5 if TOPS_TNL_32
49 help
50 Configuration for TOPS tunnel map bit. This value should be the log
51 of TOPS_TNL_NUM.
52
53endmenu