xref: /OK3568_Linux_fs/device/rockchip/common/configs/Config.in.update (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2
3comment "RTOS doesn't use update image"
4	depends on RK_RTOS
5
6if !RK_RTOS
7
8menu "Update (OTA and A/B)"
9
10config RK_UPDATE
11	bool "pack Rockchip update image"
12	default y
13
14if RK_UPDATE
15
16config RK_AB_UPDATE
17	bool "A/B update"
18
19if RK_AB_UPDATE
20
21choice
22	prompt "package-file for A/B OTA"
23
24config RK_AB_OTA_PACKAGE_FILE_DEFAULT
25	bool "auto"
26	help
27	  Auto-generated.
28
29config RK_AB_OTA_PACKAGE_FILE_CUSTOM
30	bool "custom"
31	help
32	  Use custom A/B OTA package-file under <CHIP_DIR>/.
33
34endchoice # A/B OTA package-file
35
36if RK_AB_OTA_PACKAGE_FILE_CUSTOM
37
38config RK_AB_OTA_PACKAGE_FILE
39	string "custom package-file for A/B OTA"
40	help
41	  Name of custom package-file for A/B OTA under <CHIP_DIR>/.
42
43endif
44
45config RK_AB_UPDATE_SDCARD
46	bool "A/B SDcard update"
47
48endif
49endif
50
51endmenu # Update
52
53endif
54