You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2020/01/23 20:43:05 UTC

[incubator-nuttx] branch pr153 updated: Remove unused configuration option CONFIG_RAMDISK

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch pr153
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/pr153 by this push:
     new 211c6dc  Remove unused configuration option CONFIG_RAMDISK
211c6dc is described below

commit 211c6dcaa78c7547d140ae2a8464234fa076c99e
Author: Gregory Nutt <gn...@nuttx.org>
AuthorDate: Thu Jan 23 14:37:25 2020 -0600

    Remove unused configuration option CONFIG_RAMDISK
---
 boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig              | 1 -
 .../sama5d3-xplained/configs/ethernet-over-usb-telnetd/defconfig  | 1 -
 .../sama5/sama5d3-xplained/configs/ethernet-over-usb/defconfig    | 1 -
 boards/arm/stm32/mikroe-stm32f4/configs/fulldemo/defconfig        | 1 -
 boards/arm/stm32/mikroe-stm32f4/configs/kostest/defconfig         | 1 -
 boards/arm/stm32/mikroe-stm32f4/configs/nsh/defconfig             | 1 -
 boards/arm/stm32/mikroe-stm32f4/configs/usbnsh/defconfig          | 1 -
 boards/arm/stm32/stm32butterfly2/configs/nsh/defconfig            | 1 -
 boards/arm/stm32/stm32butterfly2/configs/nshnet/defconfig         | 1 -
 boards/arm/stm32/stm32butterfly2/configs/nshusbdev/defconfig      | 1 -
 boards/arm/stm32/stm32butterfly2/configs/nshusbhost/defconfig     | 1 -
 boards/arm/stm32/stm32f429i-disco/configs/usbnsh/defconfig        | 1 -
 boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig         | 1 -
 boards/arm/stm32/stm32f4discovery/configs/usbmsc/defconfig        | 1 -
 boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig           | 1 -
 drivers/Kconfig                                                   | 8 --------
 16 files changed, 23 deletions(-)

diff --git a/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig b/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig
index b489908..f68da05 100644
--- a/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig
+++ b/boards/arm/lpc17xx_40xx/lx_cpu/configs/nsh/defconfig
@@ -143,7 +143,6 @@ CONFIG_PTABLE_PARTITION=y
 CONFIG_PTHREAD_CLEANUP=y
 CONFIG_PTHREAD_MUTEX_TYPES=y
 CONFIG_PTHREAD_STACK_MIN=1024
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=65536
 CONFIG_RAM_START=0x10000000
 CONFIG_RR_INTERVAL=200
diff --git a/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb-telnetd/defconfig b/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb-telnetd/defconfig
index a070bf4..b009e70 100644
--- a/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb-telnetd/defconfig
+++ b/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb-telnetd/defconfig
@@ -72,7 +72,6 @@ CONFIG_NSH_PROMPT_STRING="nsh>  "
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=16
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=268435456
 CONFIG_RAM_START=0x20000000
 CONFIG_RAM_VSTART=0x20000000
diff --git a/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb/defconfig b/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb/defconfig
index d80df13..26bdf34 100644
--- a/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb/defconfig
+++ b/boards/arm/sama5/sama5d3-xplained/configs/ethernet-over-usb/defconfig
@@ -71,7 +71,6 @@ CONFIG_NSH_PROMPT_STRING="nsh>  "
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=16
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=268435456
 CONFIG_RAM_START=0x20000000
 CONFIG_RAM_VSTART=0x20000000
diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/fulldemo/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/fulldemo/defconfig
index af313ab..7fdc5f3 100644
--- a/boards/arm/stm32/mikroe-stm32f4/configs/fulldemo/defconfig
+++ b/boards/arm/stm32/mikroe-stm32f4/configs/fulldemo/defconfig
@@ -111,7 +111,6 @@ CONFIG_NX_XYINPUT_TOUCHSCREEN=y
 CONFIG_PLATFORM_CONFIGDATA=y
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAMMTD=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/kostest/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/kostest/defconfig
index 0ea4b5f..101c135 100644
--- a/boards/arm/stm32/mikroe-stm32f4/configs/kostest/defconfig
+++ b/boards/arm/stm32/mikroe-stm32f4/configs/kostest/defconfig
@@ -60,7 +60,6 @@ CONFIG_PASS1_BUILDIR="boards/arm/stm32/mikroe-stm32f4/kernel"
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAMMTD=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/nsh/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/nsh/defconfig
index 70c1e5d..65a45ed 100644
--- a/boards/arm/stm32/mikroe-stm32f4/configs/nsh/defconfig
+++ b/boards/arm/stm32/mikroe-stm32f4/configs/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_NSH_STRERROR=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=4
-CONFIG_RAMDISK=y
 CONFIG_RAMMTD=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/usbnsh/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/usbnsh/defconfig
index 607775f..ab44d45 100644
--- a/boards/arm/stm32/mikroe-stm32f4/configs/usbnsh/defconfig
+++ b/boards/arm/stm32/mikroe-stm32f4/configs/usbnsh/defconfig
@@ -59,7 +59,6 @@ CONFIG_NSH_STRERROR=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32butterfly2/configs/nsh/defconfig b/boards/arm/stm32/stm32butterfly2/configs/nsh/defconfig
index d09a246..e19e6df 100644
--- a/boards/arm/stm32/stm32butterfly2/configs/nsh/defconfig
+++ b/boards/arm/stm32/stm32butterfly2/configs/nsh/defconfig
@@ -53,7 +53,6 @@ CONFIG_NSH_STRERROR=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=65536
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32butterfly2/configs/nshnet/defconfig b/boards/arm/stm32/stm32butterfly2/configs/nshnet/defconfig
index fea7992..cf36863 100644
--- a/boards/arm/stm32/stm32butterfly2/configs/nshnet/defconfig
+++ b/boards/arm/stm32/stm32butterfly2/configs/nshnet/defconfig
@@ -67,7 +67,6 @@ CONFIG_PL2303=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=65536
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32butterfly2/configs/nshusbdev/defconfig b/boards/arm/stm32/stm32butterfly2/configs/nshusbdev/defconfig
index 84b19c5..3cd5348 100644
--- a/boards/arm/stm32/stm32butterfly2/configs/nshusbdev/defconfig
+++ b/boards/arm/stm32/stm32butterfly2/configs/nshusbdev/defconfig
@@ -52,7 +52,6 @@ CONFIG_PL2303=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=65536
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32butterfly2/configs/nshusbhost/defconfig b/boards/arm/stm32/stm32butterfly2/configs/nshusbhost/defconfig
index d09a246..e19e6df 100644
--- a/boards/arm/stm32/stm32butterfly2/configs/nshusbhost/defconfig
+++ b/boards/arm/stm32/stm32butterfly2/configs/nshusbhost/defconfig
@@ -53,7 +53,6 @@ CONFIG_NSH_STRERROR=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=65536
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32f429i-disco/configs/usbnsh/defconfig b/boards/arm/stm32/stm32f429i-disco/configs/usbnsh/defconfig
index 01747de..55a05f7 100644
--- a/boards/arm/stm32/stm32f429i-disco/configs/usbnsh/defconfig
+++ b/boards/arm/stm32/stm32f429i-disco/configs/usbnsh/defconfig
@@ -46,7 +46,6 @@ CONFIG_NSH_READLINE=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig b/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig
index 4c1b5c7..e7140b3 100644
--- a/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig
+++ b/boards/arm/stm32/stm32f4discovery/configs/rndis/defconfig
@@ -77,7 +77,6 @@ CONFIG_PATH_INITIAL="/mnt/nfs/bin"
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=16
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32/stm32f4discovery/configs/usbmsc/defconfig b/boards/arm/stm32/stm32f4discovery/configs/usbmsc/defconfig
index 13802d4..cd7693b 100644
--- a/boards/arm/stm32/stm32f4discovery/configs/usbmsc/defconfig
+++ b/boards/arm/stm32/stm32f4discovery/configs/usbmsc/defconfig
@@ -38,7 +38,6 @@ CONFIG_NSH_READLINE=y
 CONFIG_PREALLOC_MQ_MSGS=4
 CONFIG_PREALLOC_TIMERS=4
 CONFIG_PREALLOC_WDOGS=8
-CONFIG_RAMDISK=y
 CONFIG_RAM_SIZE=114688
 CONFIG_RAM_START=0x20000000
 CONFIG_RAW_BINARY=y
diff --git a/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig b/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig
index 6c2ce2b..9f3ca61 100755
--- a/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig
+++ b/boards/arm/stm32l4/nucleo-l432kc/configs/spwm/defconfig
@@ -718,7 +718,6 @@ CONFIG_DRVR_MKRD=y
 #
 # CONFIG_DRVR_WRITEBUFFER is not set
 # CONFIG_DRVR_READAHEAD is not set
-# CONFIG_RAMDISK is not set
 # CONFIG_CAN is not set
 CONFIG_ARCH_HAVE_PWM_PULSECOUNT=y
 # CONFIG_ARCH_HAVE_PWM_MULTICHAN is not set
diff --git a/drivers/Kconfig b/drivers/Kconfig
index 4cd24d4..ab581fd 100644
--- a/drivers/Kconfig
+++ b/drivers/Kconfig
@@ -77,14 +77,6 @@ endif # DRVR_WRITEBUFFER || DRVR_READAHEAD
 
 endmenu # Buffering
 
-config RAMDISK
-	bool "RAM Disk Support"
-	default n
-	---help---
-		Can be used to set up a block of memory or (read-only) FLASH as
-		a block driver that can be mounted as a files system.  See
-		include/nuttx/drivers/ramdisk.h.
-
 menuconfig CAN
 	bool "CAN Driver Support"
 	default n