summaryrefslogtreecommitdiffstats
path: root/target/linux/imx
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2023-02-23 15:24:18 -0800
committerChristian Lamparter <chunkeey@gmail.com>2023-05-18 16:17:52 +0200
commit6d41da8b7e37db64599643c3ae4998397209322a (patch)
treeffbff286c3e879def10b0dfc6bf77cc4f97dc7d8 /target/linux/imx
parentec4d63ffb34337761ccecb4c6f1fc91a4409a95e (diff)
downloadopenwrt-6d41da8b7e37db64599643c3ae4998397209322a.tar.gz
openwrt-6d41da8b7e37db64599643c3ae4998397209322a.tar.bz2
openwrt-6d41da8b7e37db64599643c3ae4998397209322a.zip
imx: 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 adds 23KiB to the compressed kernel size Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'target/linux/imx')
-rw-r--r--target/linux/imx/config-5.152
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/imx/config-5.15 b/target/linux/imx/config-5.15
index 90b8c285fd..73d0b3fe78 100644
--- a/target/linux/imx/config-5.15
+++ b/target/linux/imx/config-5.15
@@ -41,6 +41,7 @@ CONFIG_ATAGS=y
CONFIG_AUTO_ZRELADDR=y
CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y
CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_SD=y
CONFIG_BLK_PM=y
CONFIG_CACHE_L2X0=y
CONFIG_CLKSRC_IMX_GPT=y
@@ -420,6 +421,7 @@ CONFIG_USB_MXS_PHY=y
CONFIG_USB_OTG=y
CONFIG_USB_PHY=y
CONFIG_USB_ROLE_SWITCH=y
+CONFIG_USB_STORAGE=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_ULPI_BUS=y
CONFIG_USE_OF=y