123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- menu "Storage setting"
- choice
- prompt "Flash Size Select"
- config SPI_FLASH_SIZE_2M
- bool "2M"
- help
- SPI Flash Size 2M
- config SPI_FLASH_SIZE_4M
- bool "4M"
- help
- SPI Flash Size 4M
- config SPI_FLASH_SIZE_8M
- bool "8M"
- help
- SPI Flash Size 8M
- config SPI_FLASH_SIZE_16M
- bool "16M"
- help
- SPI Flash Size 16M
- config SPI_FLASH_SIZE_32M
- bool "32M"
- help
- SPI Flash Size 32M
- endchoice
- config CODE_FLASH_SIZE
- int
- default 2048 if SPI_FLASH_SIZE_2M
- default 4096 if SPI_FLASH_SIZE_4M
- default 8192 if SPI_FLASH_SIZE_8M
- default 16384 if SPI_FLASH_SIZE_16M
- default 32768 if SPI_FLASH_SIZE_32M
- config DATA_FLASH_SIZE
- int
- default 0
-
- choice
- prompt "Support nvm (user data) size"
-
- config SPI_SIMFS_FLASHSIZE_32K
- depends on SPI_FLASH_SIZE_2M
- bool "32K"
-
- config SPI_SIMFS_FLASHSIZE_64K
- depends on SPI_FLASH_SIZE_2M
- bool "64K"
-
- config SPI_SIMFS_FLASHSIZE_32K
- depends on SPI_FLASH_SIZE_4M
- bool "32K"
-
- config SPI_SIMFS_FLASHSIZE_64K
- depends on SPI_FLASH_SIZE_4M
- bool "64K"
-
- config SPI_SIMFS_FLASHSIZE_128K
- depends on SPI_FLASH_SIZE_4M
- bool "128K"
-
- config SPI_SIMFS_FLASHSIZE_256K
- depends on SPI_FLASH_SIZE_4M
- bool "256K"
-
- config SPI_SIMFS_FLASHSIZE_64K
- depends on SPI_FLASH_SIZE_8M
- bool "64K"
-
- config SPI_SIMFS_FLASHSIZE_128K
- depends on SPI_FLASH_SIZE_8M
- bool "128K"
-
- config SPI_SIMFS_FLASHSIZE_1M
- depends on SPI_FLASH_SIZE_8M
- bool "1M"
-
- config SPI_SIMFS_FLASHSIZE_2M
- depends on SPI_FLASH_SIZE_8M
- bool "2M"
- config SPI_SIMFS_FLASHSIZE_64K
- depends on SPI_FLASH_SIZE_16M
- bool "64K"
-
- config SPI_SIMFS_FLASHSIZE_128K
- depends on SPI_FLASH_SIZE_16M
- bool "128K"
-
- config SPI_SIMFS_FLASHSIZE_1M
- depends on SPI_FLASH_SIZE_16M
- bool "1M"
-
- config SPI_SIMFS_FLASHSIZE_2M
- depends on SPI_FLASH_SIZE_16M
- bool "2M"
- endchoice
-
- config SPI_SIMFS_FLASHSIZE
- int
- default 32 if SPI_SIMFS_FLASHSIZE_32K
- default 64 if SPI_SIMFS_FLASHSIZE_64K
- default 128 if SPI_SIMFS_FLASHSIZE_128K
- default 256 if SPI_SIMFS_FLASHSIZE_256K
- default 1024 if SPI_SIMFS_FLASHSIZE_1M
- default 2048 if SPI_SIMFS_FLASHSIZE_2M
-
- config FLASH_KEYSTORAGE_END_OFFSET
- hex
- #prompt "edid,hdcp/ci key save address"
- default 0x1f8000 if SPI_FLASH_SIZE_2M && SPI_SIMFS_FLASHSIZE_32K
- default 0x1f0000 if SPI_FLASH_SIZE_2M && SPI_SIMFS_FLASHSIZE_64K
- default 0x3f8000 if SPI_FLASH_SIZE_4M && SPI_SIMFS_FLASHSIZE_32K
- default 0x3f0000 if SPI_FLASH_SIZE_4M && SPI_SIMFS_FLASHSIZE_64K
- default 0x3e0000 if SPI_FLASH_SIZE_4M && SPI_SIMFS_FLASHSIZE_128K
- default 0x3c0000 if SPI_FLASH_SIZE_4M && SPI_SIMFS_FLASHSIZE_256K
- default 0x7f0000 if SPI_FLASH_SIZE_8M && SPI_SIMFS_FLASHSIZE_64K
- default 0x7e0000 if SPI_FLASH_SIZE_8M && SPI_SIMFS_FLASHSIZE_128K
- default 0x700000 if SPI_FLASH_SIZE_8M && SPI_SIMFS_FLASHSIZE_1M
- default 0x600000 if SPI_FLASH_SIZE_8M && SPI_SIMFS_FLASHSIZE_2M
- default 0xff0000 if SPI_FLASH_SIZE_16M && SPI_SIMFS_FLASHSIZE_64K
- default 0xfe0000 if SPI_FLASH_SIZE_16M && SPI_SIMFS_FLASHSIZE_128K
- default 0xf00000 if SPI_FLASH_SIZE_16M && SPI_SIMFS_FLASHSIZE_1M
- default 0xe00000 if SPI_FLASH_SIZE_16M && SPI_SIMFS_FLASHSIZE_2M
- config FLASH_KEYSTORAGE_ALIGNMENT_4K
- bool
- #prompt "Edid,HDCP,CI keys with 4k alignment"
- default y
- help
- Enable this feature will waste 8k flash size
- but get more flexible when update keys.
- if unsure say N.
- config SUPPORT_ROMTER
- bool
- prompt "SUPPORT_ROMTER"
- default n
- config NAND_FLASH
- bool
- prompt "Nand-flash support"
- default n
- endmenu # "Storage setting"
|