[openwrt/openwrt] malta: disable unnecessary built-in CDROM support
LEDE Commits
lede-commits at lists.infradead.org
Mon Aug 10 23:26:36 EDT 2020
yousong pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/da4651833ce6a4aad0ce0664b48c10f22197fb48
commit da4651833ce6a4aad0ce0664b48c10f22197fb48
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Thu Aug 6 06:46:11 2020 -0700
malta: disable unnecessary built-in CDROM support
The CDROM is not needed for booting and can be included by selecting the
loadable module as a package instead.
This also avoids triggering a memory allocation failure during probing of
the CDROM due to lack of low 16MB DMA memory, as decribed in FS#3278:
https://bugs.openwrt.org/index.php?do=details&task_id=3278
Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/3289
Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
target/linux/malta/config-4.19 | 3 ---
target/linux/malta/config-5.4 | 3 ---
2 files changed, 6 deletions(-)
diff --git a/target/linux/malta/config-4.19 b/target/linux/malta/config-4.19
index f66036e27b..fdf5f0ee89 100644
--- a/target/linux/malta/config-4.19
+++ b/target/linux/malta/config-4.19
@@ -26,15 +26,12 @@ CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_SD=y
-CONFIG_BLK_DEV_SR=y
-# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_BLK_MQ_PCI=y
CONFIG_BLK_SCSI_REQUEST=y
CONFIG_BOARD_SCACHE=y
CONFIG_BOOT_ELF32=y
CONFIG_BOUNCE=y
CONFIG_BUILTIN_DTB=y
-CONFIG_CDROM=y
CONFIG_CEVT_R4K=y
CONFIG_CLKBLD_I8253=y
CONFIG_CLKDEV_LOOKUP=y
diff --git a/target/linux/malta/config-5.4 b/target/linux/malta/config-5.4
index 10ad795480..56336875b6 100644
--- a/target/linux/malta/config-5.4
+++ b/target/linux/malta/config-5.4
@@ -33,15 +33,12 @@ CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_SD=y
-CONFIG_BLK_DEV_SR=y
-# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_BLK_MQ_PCI=y
CONFIG_BLK_SCSI_REQUEST=y
CONFIG_BOARD_SCACHE=y
CONFIG_BOOT_ELF32=y
CONFIG_BOUNCE=y
CONFIG_BUILTIN_DTB=y
-CONFIG_CDROM=y
CONFIG_CEVT_R4K=y
# CONFIG_CGROUPS is not set
CONFIG_CLKBLD_I8253=y
More information about the lede-commits
mailing list