diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2020-08-06 06:46:11 -0700 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2020-08-11 11:25:42 +0800 |
commit | da4651833ce6a4aad0ce0664b48c10f22197fb48 (patch) | |
tree | 3319d3c6052898502d80d08de6c7e948a6f86f9f /target/linux/malta | |
parent | 5793112f751ee3d9f841af4846d68e6b1ff1bff4 (diff) | |
download | upstream-da4651833ce6a4aad0ce0664b48c10f22197fb48.tar.gz upstream-da4651833ce6a4aad0ce0664b48c10f22197fb48.tar.bz2 upstream-da4651833ce6a4aad0ce0664b48c10f22197fb48.zip |
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@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/3289
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'target/linux/malta')
-rw-r--r-- | target/linux/malta/config-4.19 | 3 | ||||
-rw-r--r-- | target/linux/malta/config-5.4 | 3 |
2 files changed, 0 insertions, 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 |