diff options
author | Yangbo Lu <yangbo.lu@nxp.com> | 2017-10-10 16:25:22 +0800 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-10-12 23:40:26 +0200 |
commit | 4f3ddcb0e9db60630daba0671f84a08d78198b81 (patch) | |
tree | b6e8d5572c29ee2115b4639676b8b40129ff32eb /target/linux/layerscape/patches-4.9/819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch | |
parent | 27f23bac8f6e6ec63df669ec93d9409b67390c1c (diff) | |
download | upstream-4f3ddcb0e9db60630daba0671f84a08d78198b81.tar.gz upstream-4f3ddcb0e9db60630daba0671f84a08d78198b81.tar.bz2 upstream-4f3ddcb0e9db60630daba0671f84a08d78198b81.zip |
layerscape: fix compile issue for usb ehci-fsl driver
When build firmware for layerscape target with CONFIG_ALL_NONSHARED=y,
there would be a compile issue of usb ehci-fsl driver. Actually this
driver was for PPC platforms initially and was not ready for non-PPC
now, but a kernel kconfig patch removed PPC dependency for it. So that
kernel patch should be reverted.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Diffstat (limited to 'target/linux/layerscape/patches-4.9/819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch')
-rw-r--r-- | target/linux/layerscape/patches-4.9/819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/layerscape/patches-4.9/819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch b/target/linux/layerscape/patches-4.9/819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch new file mode 100644 index 0000000000..c2081b2d09 --- /dev/null +++ b/target/linux/layerscape/patches-4.9/819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch @@ -0,0 +1,28 @@ +From ba4f9dd74ccb9da91195b3570310754716064ef2 Mon Sep 17 00:00:00 2001 +From: Yangbo Lu <yangbo.lu@nxp.com> +Date: Tue, 10 Oct 2017 15:55:31 +0800 +Subject: [PATCH] Revert "usb: kconfig: remove dependency FSL_SOC for ehci fsl + driver" + +This reverts commit 92042e8b3622a9bbfce0ebfc90edf6cd14d45708 on +LSDK linux (https://github.com/qoriq-open-source/linux). + +The patch reverted allowed to build ehci-fsl driver for non-PPC +platforms, but actually the driver was not ready. + +Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com> +--- + drivers/usb/host/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/usb/host/Kconfig ++++ b/drivers/usb/host/Kconfig +@@ -165,7 +165,7 @@ config XPS_USB_HCD_XILINX + + config USB_EHCI_FSL + tristate "Support for Freescale PPC on-chip EHCI USB controller" +- depends on USB_EHCI_HCD ++ depends on FSL_SOC + select USB_EHCI_ROOT_HUB_TT + ---help--- + Variation of ARC USB block used in some Freescale chips. |