diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2015-12-07 22:59:24 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-12-21 14:13:50 +1000 |
commit | 7c7bc3ccbae2c7d01c866eb8633a553d64ddecd7 (patch) | |
tree | 1fb8b5ac1889295f0a129e608ea68f4c6d3c05e7 | |
parent | 5b05fc833577bb4c5f4b9a7e4d425a11ee46cbb5 (diff) | |
download | meta-xilinx-7c7bc3ccbae2c7d01c866eb8633a553d64ddecd7.tar.gz |
linux/configs: base: Refactor linux-xlnx 3.14 Zynq USB driver config
Move the associated config fragments that are specific for this driver
in this version of the kernel to a single config fragment that the
linux-xlnx_3.14 recipe adds by default to Zynq kernel features.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
5 files changed, 21 insertions, 8 deletions
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/disable-usb-phy.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/disable-usb-phy.cfg deleted file mode 100644 index db6873ec..00000000 --- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/disable-usb-phy.cfg +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | CONFIG_NOP_USB_XCEIV=n | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/disable-usb-phy.scc b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/disable-usb-phy.scc deleted file mode 100644 index ff4d7f3e..00000000 --- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/disable-usb-phy.scc +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | define KFEATURE_DESCRIPTION "Disable the USB PHY driver" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconfig hardware disable-usb-phy.cfg | ||
5 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.cfg new file mode 100644 index 00000000..624cca9b --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.cfg | |||
@@ -0,0 +1,14 @@ | |||
1 | |||
2 | # USB (+otg) | ||
3 | CONFIG_USB=y | ||
4 | CONFIG_USB_ZYNQ=y | ||
5 | CONFIG_USB_ZYNQ_PHY=y | ||
6 | CONFIG_USB_ZYNQ_ERRATA_DT654401=y | ||
7 | CONFIG_USB_ZYNQ_DR_OF=y | ||
8 | CONFIG_USB_EHCI_HCD=y | ||
9 | CONFIG_USB_EHCI_ZYNQ=y | ||
10 | CONFIG_USB_GADGET=y | ||
11 | |||
12 | # Disable the phy driver | ||
13 | CONFIG_NOP_USB_XCEIV=n | ||
14 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.scc b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.scc new file mode 100644 index 00000000..10020ddf --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.scc | |||
@@ -0,0 +1,5 @@ | |||
1 | define KFEATURE_DESCRIPTION "Configuration for the linux-xlnx 3.14 Zynq USB driver" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconfig hardware xlnx-3.14-usb.cfg | ||
5 | |||
diff --git a/recipes-kernel/linux/linux-xlnx_3.14.bb b/recipes-kernel/linux/linux-xlnx_3.14.bb index 572047f7..c93997e4 100644 --- a/recipes-kernel/linux/linux-xlnx_3.14.bb +++ b/recipes-kernel/linux/linux-xlnx_3.14.bb | |||
@@ -12,6 +12,6 @@ SRC_URI_append = " \ | |||
12 | file://kernel-use-the-gnu89-standard-explicitly.patch \ | 12 | file://kernel-use-the-gnu89-standard-explicitly.patch \ |
13 | " | 13 | " |
14 | 14 | ||
15 | # This kernel's Zynq USB driver cannot handle a seperate USB PHY device. | 15 | # This kernel's Zynq USB driver is different to the newer kernels. |
16 | KERNEL_FEATURES_append_zynq = " bsp/xilinx/disable-usb-phy.scc" | 16 | KERNEL_FEATURES_append_zynq = " bsp/xilinx/soc/linux-xlnx/xlnx-3.14-usb.scc" |
17 | 17 | ||