diff mbox series

arm64: defconfig: Enable RAM block device support

Message ID 20240620110241.3457926-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series arm64: defconfig: Enable RAM block device support | expand

Commit Message

Fabio Estevam June 20, 2024, 11:02 a.m. UTC
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(+)

Comments

Shawn Guo June 27, 2024, 8:06 a.m. UTC | #1
On Thu, Jun 20, 2024 at 08:02:41AM -0300, Fabio Estevam wrote:
> 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>

Applied, thanks!
diff mbox series

Patch

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