zephyr/soc/arc/snps_emsk
Ulf Magnusson 2b61031c8f kconfig: Remove symbol types from Kconfig.defconfig files
Same deal as in commit 7fdb525754 ("kconfig: Use 'default' instead of
'def_bool' in Kconfig.defconfig files"), but I hacked Kconfiglib to also
find cases where the type is given separately as e.g.

    config FOO
            int
            default 3

Motivation (from a note in
https://docs.zephyrproject.org/latest/guides/kconfig/index.html):

    For a symbol defined in multiple locations (e.g., in a
    Kconfig.defconfig file in Zephyr), it is best to only give the
    symbol type for the "base" definition of the symbol, and to use
    'default' (instead of 'def_<type>' value) for the remaining
    definitions. That way, if the base definition of the symbol is
    removed, the symbol ends up without a type, which generates a
    warning that points to the other definitions. That makes the extra
    definitions easier to discover and remove.

It's also nice if 'def_bool' and the like turn into a semi-reliable flag
that the symbol is only defined in Kconfig.defconfig files. That might
be a sign that things could be cleaned up.

Will do a separate pass later to remove some symbols only defined in
Kconfig.defconfig files.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-10-24 12:40:22 -05:00
..
CMakeLists.txt soc: arc: optmize and bug fix the compile options 2019-06-26 09:10:44 -04:00
Kconfig boards: emsk: add initial support of normal/non-secure application 2019-08-10 17:45:22 +02:00
Kconfig.defconfig kconfig: Remove symbol types from Kconfig.defconfig files 2019-10-24 12:40:22 -05:00
Kconfig.defconfig.em7d Kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files 2018-11-13 16:04:01 -05:00
Kconfig.defconfig.em9d Kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files 2018-11-13 16:04:01 -05:00
Kconfig.defconfig.em11d Kconfig: Use 'default' instead of 'def_bool' in Kconfig.defconfig files 2018-11-13 16:04:01 -05:00
Kconfig.soc boards: emsk: add initial support of normal/non-secure application 2019-08-10 17:45:22 +02:00
dts_fixup.h drivers: spi_dw: Get clock frequency from DTS 2019-07-24 15:10:02 +02:00
linker.ld board: emsk: fix the ddr related definitons 2019-03-29 09:37:43 -04:00
soc.c
soc.h drivers: spi_dw: Get clock frequency from DTS 2019-07-24 15:10:02 +02:00
soc_config.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00