imx: kernel: add USB storage boot support
authorTim Harvey <tharvey@gateworks.com>
Thu, 23 Feb 2023 23:24:18 +0000 (15:24 -0800)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 18 May 2023 14:17:52 +0000 (16:17 +0200)
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>
target/linux/imx/config-5.15

index 90b8c285fd072c81cd8d0c997e91421e71adf079..73d0b3fe786675edad5a08288c2e5431da7706fb 100644 (file)
@@ -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