From bfacb78f319e3c9a0de1c3682e99ca8282b6a16d Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Thu, 10 Dec 2020 11:54:11 +0100 Subject: [PATCH] drivers/nvram: add module to Kconfig --- drivers/Kconfig | 1 + drivers/nvram/Kconfig | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 drivers/nvram/Kconfig diff --git a/drivers/Kconfig b/drivers/Kconfig index 5f0bb4b96f..54b2159e36 100644 --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -116,6 +116,7 @@ rsource "mtd_mapper/Kconfig" rsource "mtd_mci/Kconfig" rsource "mtd_sdcard/Kconfig" rsource "mtd_spi_nor/Kconfig" +rsource "nvram/Kconfig" rsource "sdcard_spi/Kconfig" endmenu # Storage Device Drivers diff --git a/drivers/nvram/Kconfig b/drivers/nvram/Kconfig new file mode 100644 index 0000000000..7bbbe4c1d7 --- /dev/null +++ b/drivers/nvram/Kconfig @@ -0,0 +1,16 @@ +# Copyright (c) 2020 HAW Hamburg +# +# This file is subject to the terms and conditions of the GNU Lesser +# General Public License v2.1. See the file LICENSE in the top level +# directory for more details. +# + +config MODULE_NVRAM + bool "Non-volatile RAM" + depends on TEST_KCONFIG + help + This API is designed around non-volatile memories which do not need + blockwise erase, such as ferro-electric RAM (FRAM) or magneto-resistive + RAM (MRAM). + + This interface is not suitable for flash memories.