1choice
2	prompt "SPL Image Type"
3	default SPL_IMAGE_TYPE_SUNXI_EGON
4
5config SPL_IMAGE_TYPE_SUNXI_EGON
6	bool "eGON (normal)"
7	help
8	  Select this option to embed the SPL binary in an eGON.BT0 image,
9	  which is compatible with the normal boot ROM (NBROM).
10
11	  This is usually the correct option to choose.
12
13config SPL_IMAGE_TYPE_SUNXI_TOC0
14	bool "TOC0 (secure)"
15	help
16	  Select this option to embed the SPL binary in a TOC0 image,
17	  which is compatible with the secure boot ROM (SBROM).
18
19endchoice
20
21config SPL_IMAGE_TYPE
22	string
23	default "sunxi_egon" if SPL_IMAGE_TYPE_SUNXI_EGON
24	default "sunxi_toc0" if SPL_IMAGE_TYPE_SUNXI_TOC0
25