[openwrt/openwrt] octeontx: kernel: add USB storage boot support

LEDE Commits lede-commits at lists.infradead.org
Thu May 18 07:18:18 PDT 2023


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/39e60394103368dc24f010ceda5667ef058ba2ba

commit 39e60394103368dc24f010ceda5667ef058ba2ba
Author: Tim Harvey <tharvey at gateworks.com>
AuthorDate: Thu Feb 23 15:23:42 2023 -0800

    octeontx: kernel: add USB storage boot support
    
    Enable BLK_DEV_SD and USB_STORAGE so that rootfs can be on a USB Mass
    Storage device.
    
    This increases the kernel Image by 66KiB
    
    Signed-off-by: Tim Harvey <tharvey at gateworks.com>
---
 target/linux/octeontx/config-5.15 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/octeontx/config-5.15 b/target/linux/octeontx/config-5.15
index 40cab28f60..c2ad7e7ab9 100644
--- a/target/linux/octeontx/config-5.15
+++ b/target/linux/octeontx/config-5.15
@@ -59,6 +59,7 @@ CONFIG_BLK_DEV_BSG=y
 CONFIG_BLK_DEV_BSGLIB=y
 CONFIG_BLK_DEV_BSG_COMMON=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
@@ -401,6 +402,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




More information about the lede-commits mailing list