subsys: disk: Kconfig: add prompt messages for config options

Add prompt messages for config options dependent on DISK_ACCESS_FLASH

Signed-off-by: Ramakrishna Pallala <ramakrishna.pallala@intel.com>
This commit is contained in:
Ramakrishna Pallala 2018-01-30 21:25:36 +05:30 committed by Anas Nashif
commit 5155e68105

View file

@ -40,11 +40,13 @@ config DISK_FLASH_DEV_NAME
config DISK_FLASH_START config DISK_FLASH_START
hex hex
prompt "Flash device start address in hex"
help help
This is start address of the flash to be used as storage backend. This is start address of the flash to be used as storage backend.
config DISK_FLASH_MAX_RW_SIZE config DISK_FLASH_MAX_RW_SIZE
int int
prompt "Flash device max read-write size in decimal"
help help
This is the maximum number of bytes that the This is the maximum number of bytes that the
flash_write API can accept per invocation. flash_write API can accept per invocation.
@ -52,18 +54,21 @@ config DISK_FLASH_MAX_RW_SIZE
config DISK_FLASH_ERASE_ALIGNMENT config DISK_FLASH_ERASE_ALIGNMENT
hex hex
prompt "Flash device erase alignment in hex"
help help
This is the start address alignment required by This is the start address alignment required by
the flash component. the flash component.
config DISK_ERASE_BLOCK_SIZE config DISK_ERASE_BLOCK_SIZE
hex hex
prompt "Flash device block size in hex"
help help
This is typically the minimum block size that This is typically the minimum block size that
is erased at one time in flash storage. is erased at one time in flash storage.
config DISK_VOLUME_SIZE config DISK_VOLUME_SIZE
hex hex
prompt "Flash device block size in hex"
help help
This is the file system volume size in bytes. This is the file system volume size in bytes.