From bf781bd2effea04827ff08fd5130f00f06a02113 Mon Sep 17 00:00:00 2001
From: Mathias Kresin <dev@kresin.me>
Date: Tue, 15 May 2018 17:34:18 +0200
Subject: [PATCH] ath79: cleanup kernel config

Remove outdated or not required kernel config settings.

Signed-off-by: Mathias Kresin <dev@kresin.me>
---
 target/linux/ath79/config-4.14            | 5 +----
 target/linux/ath79/generic/config-default | 2 --
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14
index f1cdf350ff..cd12af7529 100644
--- a/target/linux/ath79/config-4.14
+++ b/target/linux/ath79/config-4.14
@@ -132,10 +132,7 @@ CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
 CONFIG_HW_HAS_PCI=y
 CONFIG_HZ_PERIODIC=y
 CONFIG_IMAGE_CMDLINE_HACK=y
-CONFIG_INITRAMFS_COMPRESSION=""
-CONFIG_INITRAMFS_ROOT_GID=0
-CONFIG_INITRAMFS_ROOT_UID=0
-CONFIG_INITRAMFS_SOURCE="../../root"
+CONFIG_INITRAMFS_SOURCE=""
 CONFIG_IP17XX_PHY=y
 CONFIG_IRQCHIP=y
 CONFIG_IRQ_DOMAIN=y
diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default
index bbed97b6b5..70977057b7 100644
--- a/target/linux/ath79/generic/config-default
+++ b/target/linux/ath79/generic/config-default
@@ -1,7 +1,5 @@
 CONFIG_BLK_MQ_PCI=y
-CONFIG_HW_HAS_PCI=y
 CONFIG_LEDS_RESET=y
-# CONFIG_MIPS_MACHINE is not set
 CONFIG_OF_ADDRESS_PCI=y
 CONFIG_OF_PCI=y
 CONFIG_OF_PCI_IRQ=y
-- 
2.30.2