Skip to contentSkip to conversation

arm64: defconfig: Enable RAM block device support

PATCH Applied Fabio Estevam 2 participants 2 messages Jun 20, 2024 – Jun 27, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: defconfig: Enable RAM block device support

From: Fabio Estevam <[email protected]>

Booting a RAM disk is a common usecase on many boards.

Enable RAM block device support with a default size of 128MB so that RAM disk boot can work by default.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 838b4466d6f6..1f710b998875 100644
@@ -285,6 +285,8 @@ CONFIG_MTD_HYPERBUS=m
 CONFIG_HBMC_AM654=m
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_DEV_NBD=m
+CONFIG_BLK_DEV_RAM=y
+CONFIG_BLK_DEV_RAM_SIZE=131072
 CONFIG_VIRTIO_BLK=y
 CONFIG_BLK_DEV_NVME=m
 CONFIG_QCOM_COINCELL=m
Signature · 1 line
2.34.1