zephyr/subsys/storage/flash_map/Kconfig
Ulf Magnusson 1073882998 subsys: kconfig: Remove 'default n' properties and clean up a bit
Bool symbols implicitly default to 'n'.

A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you
want to override a 'default y' on the base definition of the symbol. It
isn't used like that on any of these symbols though.

Remove some 'default ""' properties on string symbols too.

Also make definitions more consistent by converting some

  config FOO
  	<type>
  	prompt "foo"

definitions to a shorter form:

  config FOO
  	<type> "foo"

This shorthand works for int/hex/string symbols too, not just for bool
symbols.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-07-12 23:13:22 -04:00

25 lines
531 B
Plaintext

# Kconfig - Flash map abstraction module
#
# Copyright (c) 2017 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: Apache-2.0
#
#
# Flash map
#
menuconfig FLASH_MAP
bool "Flash map abstraction module"
depends on FLASH_HAS_DRIVER_ENABLED
help
Enable support of flash map abstraction.
config FLASH_MAP_CUSTOM
bool "Custom flash map description"
depends on FLASH_MAP
help
This option enables custom flash map description.
User must provide such a description in place of default on
if had enabled this option.