nuttx/boards/z80/ez80/z20x/Kconfig
2020-03-01 14:50:37 +01:00

45 lines
1.1 KiB
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
if ARCH_BOARD_Z20X
config Z20X_COPYTORAM
bool "Copy to RAM"
default n
depends on BOOT_RUNFROMEXTSRAM
---help---
This option is available only when running from external SRAM
(CONFIG_BOOT_RUNFROMEXTSRAM). In that case there are two possible
options: (1) The configuration runs entirely out of SRAM and must
be copied into SRAM by a boot loader. Or (2) The configuration
boots out of FLASH, copies itself to SRAM, and runs from SRAM. This
configuration setting selects that latter option.
config Z20X_SDBOOT
bool "Build SD boot loader"
default n
---help---
Select this option only with the boards/z20x/sdboot
configuration. This will enable the components needed only by the
boot loader.
choice
prompt "Winbond W25 Usage"
default Z20X_W25_CHARDEV
depends on EZ80_SPI && MTD_W25
config Z20X_W25_CHARDEV
bool "Character device"
select BCH
config Z20X_W25_BLOCKDEV
bool "Block device"
config Z20X_W25_MTDDEV
bool "MTD device"
endchoice
endif # ARCH_BOARD_Z20X