[v2,2/2] ARM: exynos_defconfig: Enable UAS support for Odroid HC1 board

Message ID 1506926375-5782-3-git-send-email-m.szyprowski@samsung.com
State New
Headers show
Series
  • Add support for Hardkernel's Odroid HC1 board
Related show

Commit Message

Marek Szyprowski Oct. 2, 2017, 6:39 a.m.
Odroid HC1 board has built-in JMicron USB to SATA bridge, which supports
UAS protocol. Compile-in support for it (instead of enabling it as module)
to make sure that all built-in storage devices are available for rootfs.
The bridge itself also supports fallback to standard USB Mass Storage
protocol, but USB Mass Storage class doesn't bind to it when UAS is
compiled as module and modules are not (yet) available.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 arch/arm/configs/exynos_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Krzysztof Kozlowski Oct. 2, 2017, 4:56 p.m. | #1
On Mon, Oct 02, 2017 at 08:39:35AM +0200, Marek Szyprowski wrote:
> Odroid HC1 board has built-in JMicron USB to SATA bridge, which supports

> UAS protocol. Compile-in support for it (instead of enabling it as module)

> to make sure that all built-in storage devices are available for rootfs.

> The bridge itself also supports fallback to standard USB Mass Storage

> protocol, but USB Mass Storage class doesn't bind to it when UAS is

> compiled as module and modules are not (yet) available.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/configs/exynos_defconfig | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 


Thanks, applied.

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Krzysztof Kozlowski Oct. 2, 2017, 4:57 p.m. | #2
On Mon, Oct 02, 2017 at 08:39:35AM +0200, Marek Szyprowski wrote:
> Odroid HC1 board has built-in JMicron USB to SATA bridge, which supports

> UAS protocol. Compile-in support for it (instead of enabling it as module)

> to make sure that all built-in storage devices are available for rootfs.

> The bridge itself also supports fallback to standard USB Mass Storage

> protocol, but USB Mass Storage class doesn't bind to it when UAS is

> compiled as module and modules are not (yet) available.

> 

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  arch/arm/configs/exynos_defconfig | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig

> index 8c2a2619971b..f1d7834990ec 100644

> --- a/arch/arm/configs/exynos_defconfig

> +++ b/arch/arm/configs/exynos_defconfig

> @@ -244,7 +244,7 @@ CONFIG_USB_STORAGE_ONETOUCH=m

>  CONFIG_USB_STORAGE_KARMA=m

>  CONFIG_USB_STORAGE_CYPRESS_ATACB=m

>  CONFIG_USB_STORAGE_ENE_UB6250=m

> -CONFIG_USB_UAS=m

> +CONFIG_USB_UAS=y


One more thing, how about doing the same for multi_v7?

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/configs/exynos_defconfig b/arch/arm/configs/exynos_defconfig
index 8c2a2619971b..f1d7834990ec 100644
--- a/arch/arm/configs/exynos_defconfig
+++ b/arch/arm/configs/exynos_defconfig
@@ -244,7 +244,7 @@  CONFIG_USB_STORAGE_ONETOUCH=m
 CONFIG_USB_STORAGE_KARMA=m
 CONFIG_USB_STORAGE_CYPRESS_ATACB=m
 CONFIG_USB_STORAGE_ENE_UB6250=m
-CONFIG_USB_UAS=m
+CONFIG_USB_UAS=y
 CONFIG_USB_DWC3=y
 CONFIG_USB_DWC2=y
 CONFIG_USB_HSIC_USB3503=y