blob: ae672e4cfa4f285a39d4a53cb775b552581c9597 [file] [log] [blame]
Googler25e92cf2023-12-13 10:05:01 +00001menu "Amlogic commands"
2
3config AML_RPMB
4 depends on OPTEE
5 bool "support RPMB set in bootargs"
6 default y
7 help
8 Support RPMB set in bootargs.
9
10config AML_STORE_WRAPPER
11 depends on AML_STORAGE
12 bool "wrapper for store"
13 default y
14 help
15 based on AML_STORAGE
16 read/write don't care bad blocks
17
18config AML_STORE_WRAPPER
19 depends on AML_STORAGE
20 bool "wrapper for store"
21 default y
22 help
23 based on AML_STORAGE
24 read/write don't care bad blocks
25
26config AML_IMG_READ
27 depends on AML_STORAGE
28 bool "image read"
29 default y
30 help
31 based on AML_STORAGE
32 read image without specify size
33
34config AML_DEFENV
35 bool "aml defenv_without"
36 default y
37 help
38 support reserv env from c array
39
40config BOOTLOADER_CONTROL_BLOCK
41 bool "bootloader control block support"
42 default n
43 help
44 used for recovery and the bootloader to talk to each other
45
46config CMD_BOOTCTOL_AVB
47 bool "avb cmd"
48 default n
49 help
50 support avb related cmds
51
52config CMD_RSVMEM
53 bool "rsvmem cmd"
54 default y
55 help
56 support rsvmem cmd
57
58config CMD_DDR_D2PLL
59 bool "d2pll cmd"
60 default n
61 help
62 support d2pll cmd
63
64config CMD_DDR_TEST
65 bool "ddr test cmd"
66 default y
67 help
68 support ddr_test cmd
69
70config CMD_OS_IDENT
71 bool "os_ident"
72 default y
73 help
74 Ident OS type
75
76config AML_ROBUST
77 bool "envs for robust upgrade"
78 depends on AML_STORAGE
79 default y
80 help
81 "envs for robust upgrade like defendkey"
82
83config CMD_AUTOSCR
84 bool "legacy autoscr cmd"
85 default y
86 depends on CMD_SOURCE
87 help
88 Run script in memory
89
90#prduct mode start---->
91config NO_FASTBOOT_FLASHING
92 depends on FASTBOOT
93 bool "support fastboot lock/unlock"
94 default n
95
96config DISABLE_AML_SERIAL
97 bool "disable debug serial tx/rx"
98 depends on MESON_SERIAL
99 select SILENT_CONSOLE
100 default n
101
102config USB_TOOL_ENTRY
103 string "support usb burn tool in run update"
104 default "echo productmode" if AML_PRODUCT_MODE
105 default "adnl 1200" if !AML_PRODUCT_MODE
106
107config KNL_LOG_LEVEL
108 string "restrict kernel log level"
109 default " loglevel=1 " if AML_PRODUCT_MODE
110 default " " if !AML_PRODUCT_MODE
111
112config AML_DISABLE_DEV_CMDS
113 bool "disable unsafe developing commands"
114 default n
115 help
116 "Disable un-safe developing commands for product mode"
117
118config AML_PRODUCT_MODE
119 bool "amlogic product/security mode"
120 default n
121 imply NO_FASTBOOT_FLASHING
122 imply DISABLE_AML_SERIAL
123 imply AML_DISABLE_DEV_CMDS
124 help
125 recommend enable when product is ready for producing
126#prduct mode end<----
127
128endmenu