diff mbox series

[PATCH-22.03,3/3] octeontx: kernel: add USB storage boot support

Message ID 20230223232847.1871098-3-tharvey@gateworks.com
State Accepted
Headers show
Series [PATCH-22.03,1/3] octeontx: add default packages for on-board devices | expand

Commit Message

Tim Harvey Feb. 23, 2023, 11:28 p.m. UTC
Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass
Storage device.

This increases the kernel by about 64KiB

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
---
 target/linux/octeontx/config-5.10 | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/target/linux/octeontx/config-5.10 b/target/linux/octeontx/config-5.10
index 15a60a1b6468..6b03503f91f8 100644
--- a/target/linux/octeontx/config-5.10
+++ b/target/linux/octeontx/config-5.10
@@ -56,6 +56,7 @@  CONFIG_BALLOON_COMPACTION=y
 CONFIG_BLK_DEV_BSG=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_SD=y
 CONFIG_BLK_MQ_PCI=y
 CONFIG_BLK_MQ_VIRTIO=y
 CONFIG_BLK_PM=y
@@ -394,6 +395,7 @@  CONFIG_UNMAP_KERNEL_AT_EL0=y
 CONFIG_USB=y
 CONFIG_USB_COMMON=y
 CONFIG_USB_PCI=y
+CONFIG_USB_STORAGE=y
 CONFIG_USB_SUPPORT=y
 # CONFIG_USB_UHCI_HCD is not set
 CONFIG_USB_XHCI_HCD=y