malta: disable unnecessary built-in CDROM support
authorTony Ambardar <itugrok@yahoo.com>
Thu, 6 Aug 2020 13:46:11 +0000 (06:46 -0700)
committerYousong Zhou <yszhou4tech@gmail.com>
Tue, 11 Aug 2020 03:25:42 +0000 (11:25 +0800)
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@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/3289
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
target/linux/malta/config-4.19
target/linux/malta/config-5.4

index f66036e27bb7d185f194aafc810897f845852a15..fdf5f0ee8910ab72f49c1714a0b75f7b748ea5b0 100644 (file)
@@ -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
index 10ad79548056cecf6760a29c41e8f6203a800bab..56336875b6cf665642174b1fac5801c2d1311111 100644 (file)
@@ -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