linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: defconfig: Enable RAM block device support
@ 2024-06-20 11:02 Fabio Estevam
  2024-06-27  8:06 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2024-06-20 11:02 UTC (permalink / raw)
  To: shawnguo; +Cc: sbabic, linux-arm-kernel, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

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.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 838b4466d6f6..1f710b998875 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -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
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-27  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20 11:02 [PATCH] arm64: defconfig: Enable RAM block device support Fabio Estevam
2024-06-27  8:06 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).