ipq40xx: Drop nand features from Chromium image
authorBrian Norris <computersforpeace@gmail.com>
Mon, 7 Nov 2022 06:14:22 +0000 (22:14 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 2 Aug 2024 17:54:38 +0000 (19:54 +0200)
This target doesn't actually use NAND.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16001
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/Makefile
target/linux/ipq40xx/config-6.6
target/linux/ipq40xx/generic/config-default [new file with mode: 0644]
target/linux/ipq40xx/generic/target.mk
target/linux/ipq40xx/mikrotik/config-default
target/linux/ipq40xx/mikrotik/target.mk

index 30091e5d291aa6b533c354df9eda4c6a91e191b7..68a47c90824211a5d46136c4260e077166cdacfe 100644 (file)
@@ -3,7 +3,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=ipq40xx
 BOARDNAME:=Qualcomm Atheros IPQ40XX
-FEATURES:=squashfs fpu ramdisk nand
+FEATURES:=squashfs fpu ramdisk
 CPU_TYPE:=cortex-a7
 CPU_SUBTYPE:=neon-vfpv4
 SUBTARGETS:=generic chromium mikrotik
index 3049efc3d6c38e9f8cf8260b1f5b7f97d4d5d4fd..683463628f3b58ee64c8d55a01098c89fc4556ef 100644 (file)
@@ -306,11 +306,6 @@ CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MTD_SPLIT_WRGG_FW=y
-CONFIG_MTD_UBI=y
-CONFIG_MTD_UBI_BEB_LIMIT=20
-CONFIG_MTD_UBI_BLOCK=y
-CONFIG_MTD_UBI_NVMEM=y
-CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_MUTEX_SPIN_ON_OWNER=y
 CONFIG_NEED_DMA_MAP_STATE=y
 CONFIG_NEON=y
@@ -532,7 +527,6 @@ CONFIG_TIMER_OF=y
 CONFIG_TIMER_PROBE=y
 CONFIG_TREE_RCU=y
 CONFIG_TREE_SRCU=y
-CONFIG_UBIFS_FS=y
 CONFIG_UEVENT_HELPER_PATH=""
 CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
 CONFIG_UNWINDER_ARM=y
diff --git a/target/linux/ipq40xx/generic/config-default b/target/linux/ipq40xx/generic/config-default
new file mode 100644 (file)
index 0000000..bd9876a
--- /dev/null
@@ -0,0 +1,6 @@
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_BEB_LIMIT=20
+CONFIG_MTD_UBI_BLOCK=y
+CONFIG_MTD_UBI_NVMEM=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_UBIFS_FS=y
index 90c1b762afcdfa5e27ce92d854fa52265fa3cd1b..4ff40dea2baa3ea59852d24e1d8b3541fa710fda 100644 (file)
@@ -1,3 +1,3 @@
 BOARDNAME:=Generic
-FEATURES+=emmc
+FEATURES+=emmc nand
 DEFAULT_PACKAGES += ath10k-board-qca4019
index ab470ecb41c4c568853196e07937243e0b824fd6..805e6db23bb46f4e4d51821d4d573f2f73a98f62 100644 (file)
@@ -4,3 +4,9 @@ CONFIG_MTD_ROUTERBOOT_PARTS=y
 CONFIG_MTD_SPI_NOR_USE_VARIABLE_ERASE=y
 CONFIG_MTD_SPLIT_MINOR_FW=y
 # CONFIG_NVMEM_LAYOUT_MIKROTIK is not set
+CONFIG_MTD_UBI=y
+CONFIG_MTD_UBI_BEB_LIMIT=20
+CONFIG_MTD_UBI_BLOCK=y
+CONFIG_MTD_UBI_NVMEM=y
+CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_UBIFS_FS=y
index 4530a909850942565cbd410d53b97c22d54a48d2..12bf8a4cd34265e9a432d76a96cfa2ef15ea4999 100644 (file)
@@ -1,4 +1,4 @@
 BOARDNAME:=MikroTik
-FEATURES += minor
+FEATURES += minor nand
 KERNEL_IMAGES:=vmlinux
 IMAGES_DIR:=compressed