From c2fc52ae222166455f85ef27670d6d12a8a7e9ba Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Mon, 9 Jan 2017 17:51:54 +0100
Subject: [PATCH] kernel: remove DEVMEM/DEVKMEM platform overrides

Those options are handled via top-level menuconfig instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 target/linux/ipq806x/config-4.4  | 1 -
 target/linux/malta/config-4.4    | 1 -
 target/linux/mediatek/config-4.4 | 1 -
 target/linux/mpc85xx/config-4.4  | 1 -
 target/linux/octeon/config-4.4   | 1 -
 target/linux/orion/config-4.4    | 1 -
 target/linux/zynq/config-4.4     | 1 -
 7 files changed, 7 deletions(-)

diff --git a/target/linux/ipq806x/config-4.4 b/target/linux/ipq806x/config-4.4
index 69c2198e67..898e32ff03 100644
--- a/target/linux/ipq806x/config-4.4
+++ b/target/linux/ipq806x/config-4.4
@@ -113,7 +113,6 @@ CONFIG_DEBUG_GPIO=y
 CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
 # CONFIG_DEBUG_UART_8250 is not set
 # CONFIG_DEBUG_USER is not set
-CONFIG_DEVMEM=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_ENGINE=y
 CONFIG_DMA_OF=y
diff --git a/target/linux/malta/config-4.4 b/target/linux/malta/config-4.4
index 6786ba71f1..d19006563d 100644
--- a/target/linux/malta/config-4.4
+++ b/target/linux/malta/config-4.4
@@ -67,7 +67,6 @@ CONFIG_CRYPTO_RNG2=y
 CONFIG_CRYPTO_WORKQUEUE=y
 CONFIG_CSRC_R4K=y
 # CONFIG_DEBUG_FS is not set
-CONFIG_DEVKMEM=y
 CONFIG_DMA_MAYBE_COHERENT=y
 CONFIG_DMA_NONCOHERENT=y
 CONFIG_DNOTIFY=y
diff --git a/target/linux/mediatek/config-4.4 b/target/linux/mediatek/config-4.4
index 2d6140a098..56e721bdb6 100644
--- a/target/linux/mediatek/config-4.4
+++ b/target/linux/mediatek/config-4.4
@@ -120,7 +120,6 @@ CONFIG_DEBUG_UART_PHYS=0x11004000
 CONFIG_DEBUG_UART_VIRT=0xf1004000
 CONFIG_DEBUG_UNCOMPRESS=y
 # CONFIG_DEBUG_USER is not set
-CONFIG_DEVMEM=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_ENGINE=y
 CONFIG_DMA_OF=y
diff --git a/target/linux/mpc85xx/config-4.4 b/target/linux/mpc85xx/config-4.4
index 6564b5daf7..fd0b2069c1 100644
--- a/target/linux/mpc85xx/config-4.4
+++ b/target/linux/mpc85xx/config-4.4
@@ -69,7 +69,6 @@ CONFIG_CRYPTO_RNG2=y
 CONFIG_CRYPTO_WORKQUEUE=y
 CONFIG_DEBUG_BUGVERBOSE=y
 CONFIG_DEFAULT_UIMAGE=y
-CONFIG_DEVKMEM=y
 CONFIG_DNOTIFY=y
 CONFIG_DTC=y
 # CONFIG_E200 is not set
diff --git a/target/linux/octeon/config-4.4 b/target/linux/octeon/config-4.4
index b77983ae74..fd2f26f1ea 100644
--- a/target/linux/octeon/config-4.4
+++ b/target/linux/octeon/config-4.4
@@ -70,7 +70,6 @@ CONFIG_DEBUG_INFO=y
 CONFIG_DEBUG_SPINLOCK=y
 CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
 CONFIG_DETECT_HUNG_TASK=y
-CONFIG_DEVKMEM=y
 CONFIG_DMA_COHERENT=y
 CONFIG_DNOTIFY=y
 CONFIG_DTC=y
diff --git a/target/linux/orion/config-4.4 b/target/linux/orion/config-4.4
index 515d71416f..57f0bc69db 100644
--- a/target/linux/orion/config-4.4
+++ b/target/linux/orion/config-4.4
@@ -63,7 +63,6 @@ CONFIG_DEBUG_UART_8250_SHIFT=2
 CONFIG_DEBUG_UART_PHYS=0xf1012000
 CONFIG_DEBUG_UART_VIRT=0xfe012000
 # CONFIG_DEBUG_USER is not set
-CONFIG_DEVMEM=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_ENGINE=y
 CONFIG_DMA_ENGINE_RAID=y
diff --git a/target/linux/zynq/config-4.4 b/target/linux/zynq/config-4.4
index f8e080d5f9..027435f7fb 100644
--- a/target/linux/zynq/config-4.4
+++ b/target/linux/zynq/config-4.4
@@ -179,7 +179,6 @@ CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
 CONFIG_DEFAULT_CFQ=y
 # CONFIG_DEFAULT_DEADLINE is not set
 CONFIG_DEFAULT_IOSCHED="cfq"
-CONFIG_DEVMEM=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
 CONFIG_DIRECT_IO=y
-- 
GitLab