diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2015-12-07 23:43:48 +1000 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-12-21 14:47:11 +1000 |
commit | 40f5e1996a3f7620dbbeaaa257ac06e6d6eb04b3 (patch) | |
tree | 354685281a2677e529d2e60a352049acb993f4b8 | |
parent | 7c7bc3ccbae2c7d01c866eb8633a553d64ddecd7 (diff) | |
download | meta-xilinx-40f5e1996a3f7620dbbeaaa257ac06e6d6eb04b3.tar.gz |
linux/configs: Update config fragments
Update and refactor config fragments to work with newer kernels as well
as supporting new features that are now available.
This changeset also moves a large number of 'linux-xlnx' only drivers
into seperate config fragments for cleaner maintainence.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
15 files changed, 113 insertions, 44 deletions
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg index 889b04c5..178d8ef5 100644 --- a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/xilinx.cfg | |||
@@ -2,11 +2,11 @@ | |||
2 | # DMA | 2 | # DMA |
3 | CONFIG_XILINX_DMA_ENGINES=y | 3 | CONFIG_XILINX_DMA_ENGINES=y |
4 | CONFIG_XILINX_AXIDMA=y | 4 | CONFIG_XILINX_AXIDMA=y |
5 | CONFIG_XILINX_AXIVDMA=y | ||
6 | CONFIG_XILINX_AXICDMA=y | 5 | CONFIG_XILINX_AXICDMA=y |
7 | CONFIG_XILINX_DPDMA=y | 6 | # DMA (linux-xlnx 3.14 only) |
7 | CONFIG_XILINX_AXIVDMA=y | ||
8 | 8 | ||
9 | # PCI(e) | 9 | # PCI(e) (linux-xlnx 3.14 & 3.19 only) |
10 | CONFIG_XILINX_AXIPCIE=y | 10 | CONFIG_XILINX_AXIPCIE=y |
11 | CONFIG_PCI_MSI=y | 11 | CONFIG_PCI_MSI=y |
12 | 12 | ||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg new file mode 100644 index 00000000..de22f5ba --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.cfg | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | # Devcfg | ||
3 | CONFIG_XILINX_DEVCFG=y | ||
4 | |||
5 | # Ethernet | ||
6 | CONFIG_XILINX_PS_EMAC=y | ||
7 | |||
8 | # SPI | ||
9 | CONFIG_SPI_ZYNQ_QSPI=y | ||
10 | |||
11 | # NAND | ||
12 | CONFIG_MTD_NAND_PL353=y | ||
13 | CONFIG_MTD_NAND_PL35X=y | ||
14 | |||
15 | # EDAC | ||
16 | CONFIG_EDAC=y | ||
17 | CONFIG_EDAC_MM_EDAC=y | ||
18 | CONFIG_EDAC_ZYNQ=y | ||
19 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc new file mode 100644 index 00000000..66f3c675 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynq7.scc | |||
@@ -0,0 +1,5 @@ | |||
1 | define KFEATURE_DESCRIPTION "Xilinx Zynq 7000 Drivers (From linux-xlnx kernels)" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconfig hardware zynq7.cfg | ||
5 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg new file mode 100644 index 00000000..84da2da2 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.cfg | |||
@@ -0,0 +1,13 @@ | |||
1 | |||
2 | # DMA | ||
3 | CONFIG_XILINX_DMA_ENGINES=y | ||
4 | CONFIG_XILINX_DPDMA=y | ||
5 | CONFIG_XILINX_ZYNQMP_DMA=y | ||
6 | |||
7 | # NAND | ||
8 | CONFIG_MTD_NAND_ARASAN=y | ||
9 | |||
10 | # PCIe | ||
11 | CONFIG_PCI_MSI=y | ||
12 | CONFIG_PCI_XILINX_NWL=y | ||
13 | |||
diff --git a/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc new file mode 100644 index 00000000..4bd73e4c --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-base/bsp/xilinx/soc/linux-xlnx/drivers/zynqmp.scc | |||
@@ -0,0 +1,5 @@ | |||
1 | define KFEATURE_DESCRIPTION "Xilinx Zynq UltraScale+ MPSoC Drivers (From linux-xlnx kernels)" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconfig hardware zynqmp.cfg | ||
5 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg index 903b4c50..c3c87f7c 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/common.cfg | |||
@@ -1,5 +1,5 @@ | |||
1 | 1 | ||
2 | # Device tree | 2 | # Device tree (for linux-xlnx 3.14) |
3 | CONFIG_PROC_DEVICETREE=y | 3 | CONFIG_PROC_DEVICETREE=y |
4 | 4 | ||
5 | # Debug | 5 | # Debug |
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg index fc53f3d1..d2582335 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/xilinx.cfg | |||
@@ -1,6 +1,5 @@ | |||
1 | 1 | ||
2 | # Serial/UART | 2 | # Serial/UART |
3 | CONFIG_SERIAL=y | ||
4 | CONFIG_SERIAL_8250=y | 3 | CONFIG_SERIAL_8250=y |
5 | CONFIG_SERIAL_8250_CONSOLE=y | 4 | CONFIG_SERIAL_8250_CONSOLE=y |
6 | CONFIG_SERIAL_UARTLITE=y | 5 | CONFIG_SERIAL_UARTLITE=y |
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg index 4ddf9db2..78b6beab 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynq7.cfg | |||
@@ -15,16 +15,12 @@ CONFIG_PL310_ERRATA_588369=y | |||
15 | CONFIG_PL310_ERRATA_727915=y | 15 | CONFIG_PL310_ERRATA_727915=y |
16 | CONFIG_PL310_ERRATA_769419=y | 16 | CONFIG_PL310_ERRATA_769419=y |
17 | 17 | ||
18 | # Devcfg | ||
19 | CONFIG_XILINX_DEVCFG=y | ||
20 | |||
21 | # Watchdog | 18 | # Watchdog |
22 | CONFIG_WATCHDOG=y | 19 | CONFIG_WATCHDOG=y |
23 | CONFIG_CADENCE_WATCHDOG=y | 20 | CONFIG_CADENCE_WATCHDOG=y |
24 | 21 | ||
25 | # Ethernet | 22 | # Ethernet |
26 | CONFIG_MACB=y | 23 | CONFIG_MACB=y |
27 | CONFIG_XILINX_PS_EMAC=y | ||
28 | 24 | ||
29 | # GPIO | 25 | # GPIO |
30 | CONFIG_GPIO_SYSFS=y | 26 | CONFIG_GPIO_SYSFS=y |
@@ -37,7 +33,6 @@ CONFIG_I2C_CADENCE=y | |||
37 | # SPI | 33 | # SPI |
38 | CONFIG_SPI=y | 34 | CONFIG_SPI=y |
39 | CONFIG_SPI_CADENCE=y | 35 | CONFIG_SPI_CADENCE=y |
40 | CONFIG_SPI_ZYNQ_QSPI=y | ||
41 | 36 | ||
42 | # CAN | 37 | # CAN |
43 | CONFIG_CAN=y | 38 | CONFIG_CAN=y |
@@ -49,11 +44,9 @@ CONFIG_MMC_SDHCI=y | |||
49 | CONFIG_MMC_SDHCI_PLTFM=y | 44 | CONFIG_MMC_SDHCI_PLTFM=y |
50 | CONFIG_MMC_SDHCI_OF_ARASAN=y | 45 | CONFIG_MMC_SDHCI_OF_ARASAN=y |
51 | 46 | ||
52 | # NAND | ||
53 | CONFIG_MTD_NAND_PL353=y | ||
54 | |||
55 | # USB | 47 | # USB |
56 | CONFIG_USB=y | 48 | CONFIG_USB=y |
49 | CONFIG_USB_EHCI_HCD=y | ||
57 | CONFIG_USB_CHIPIDEA=y | 50 | CONFIG_USB_CHIPIDEA=y |
58 | CONFIG_USB_CHIPIDEA_UDC=y | 51 | CONFIG_USB_CHIPIDEA_UDC=y |
59 | CONFIG_USB_CHIPIDEA_HOST=y | 52 | CONFIG_USB_CHIPIDEA_HOST=y |
@@ -61,13 +54,10 @@ CONFIG_NOP_USB_XCEIV=y | |||
61 | CONFIG_USB_OTG=y | 54 | CONFIG_USB_OTG=y |
62 | CONFIG_USB_GADGET=y | 55 | CONFIG_USB_GADGET=y |
63 | 56 | ||
64 | # USB (+otg) | 57 | # PCIe |
65 | CONFIG_USB=y | 58 | CONFIG_PCIE_XILINX=y |
66 | CONFIG_USB_ZYNQ=y | 59 | |
67 | CONFIG_USB_ZYNQ_PHY=y | 60 | # FPGA |
68 | CONFIG_USB_ZYNQ_ERRATA_DT654401=y | 61 | CONFIG_FPGA=y |
69 | CONFIG_USB_ZYNQ_DR_OF=y | 62 | CONFIG_FPGA_MGR_ZYNQ_FPGA=y |
70 | CONFIG_USB_EHCI_HCD=y | ||
71 | CONFIG_USB_EHCI_ZYNQ=y | ||
72 | CONFIG_USB_GADGET=y | ||
73 | 63 | ||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg new file mode 100644 index 00000000..3c50e481 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.cfg | |||
@@ -0,0 +1,49 @@ | |||
1 | |||
2 | # Serial | ||
3 | CONFIG_SERIAL_XILINX_PS_UART=y | ||
4 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y | ||
5 | |||
6 | # Watchdog | ||
7 | CONFIG_WATCHDOG=y | ||
8 | CONFIG_CADENCE_WATCHDOG=y | ||
9 | |||
10 | # RTC | ||
11 | CONFIG_RTC_CLASS=y | ||
12 | CONFIG_RTC_DRV_ZYNQMP=y | ||
13 | |||
14 | # Ethernet | ||
15 | CONFIG_MACB=y | ||
16 | |||
17 | # GPIO | ||
18 | CONFIG_GPIO_SYSFS=y | ||
19 | CONFIG_GPIO_ZYNQ=y | ||
20 | |||
21 | # I2C | ||
22 | CONFIG_I2C=y | ||
23 | CONFIG_I2C_CADENCE=y | ||
24 | |||
25 | # SPI | ||
26 | CONFIG_SPI=y | ||
27 | CONFIG_SPI_CADENCE=y | ||
28 | CONFIG_SPI_ZYNQMP_GQSPI=y | ||
29 | |||
30 | # CAN | ||
31 | CONFIG_CAN=y | ||
32 | CONFIG_CAN_XILINXCAN=y | ||
33 | |||
34 | # SATA | ||
35 | CONFIG_ATA=y | ||
36 | CONFIG_AHCI_CEVA=y | ||
37 | |||
38 | # MMC/SD | ||
39 | CONFIG_MMC=y | ||
40 | CONFIG_MMC_SDHCI=y | ||
41 | CONFIG_MMC_SDHCI_PLTFM=y | ||
42 | CONFIG_MMC_SDHCI_OF_ARASAN=y | ||
43 | |||
44 | # USB | ||
45 | CONFIG_USB_DWC3=y | ||
46 | CONFIG_USB_DWC3_ULPI=y | ||
47 | CONFIG_USB_OTG=y | ||
48 | CONFIG_USB_GADGET=y | ||
49 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.scc new file mode 100644 index 00000000..70474078 --- /dev/null +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/drivers/zynqmp.scc | |||
@@ -0,0 +1,5 @@ | |||
1 | define KFEATURE_DESCRIPTION "Xilinx Zynq UltraScale+ MPSoC Drivers" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconfig hardware zynqmp.cfg | ||
5 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg index 808ec20a..fc65839a 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynq7.cfg | |||
@@ -20,7 +20,7 @@ CONFIG_SCHED_SMT=y | |||
20 | # Memory | 20 | # Memory |
21 | CONFIG_HIGHMEM=y | 21 | CONFIG_HIGHMEM=y |
22 | 22 | ||
23 | # Power management | 23 | # Power management (For linux-xlnx 3.14) |
24 | CONFIG_PM_RUNTIME=y | 24 | CONFIG_PM_RUNTIME=y |
25 | 25 | ||
26 | # Thermal | 26 | # Thermal |
@@ -35,13 +35,8 @@ CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | |||
35 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | 35 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y |
36 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | 36 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y |
37 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | 37 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y |
38 | CONFIG_GENERIC_CPUFREQ_CPU0=y | ||
39 | CONFIG_CPU_IDLE=y | 38 | CONFIG_CPU_IDLE=y |
40 | CONFIG_CPU_IDLE_ZYNQ=y | ||
41 | CONFIG_ARM_ZYNQ_CPUIDLE=y | 39 | CONFIG_ARM_ZYNQ_CPUIDLE=y |
42 | 40 | # (For linux-xlnx 3.14) | |
43 | # EDAC | 41 | CONFIG_GENERIC_CPUFREQ_CPU0=y |
44 | CONFIG_EDAC=y | ||
45 | CONFIG_EDAC_MM_EDAC=y | ||
46 | CONFIG_EDAC_ZYNQ=y | ||
47 | 42 | ||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg index b9b50088..0703af3a 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.cfg | |||
@@ -7,8 +7,3 @@ CONFIG_ARCH_ZYNQMP=y | |||
7 | # SMP | 7 | # SMP |
8 | CONFIG_SMP=y | 8 | CONFIG_SMP=y |
9 | 9 | ||
10 | CONFIG_SERIAL_XILINX_PS_UART=y | ||
11 | CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y | ||
12 | |||
13 | CONFIG_MACB=y | ||
14 | |||
diff --git a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc index 6713767b..1ac78c51 100644 --- a/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc +++ b/recipes-kernel/linux/config/xilinx-common/bsp/xilinx/soc/zynqmp.scc | |||
@@ -2,8 +2,8 @@ | |||
2 | include cfg/timer/hz_100.scc | 2 | include cfg/timer/hz_100.scc |
3 | 3 | ||
4 | kconf hardware zynqmp.cfg | 4 | kconf hardware zynqmp.cfg |
5 | # include bsp/xilinx/soc/xilinx-drivers.scc | 5 | # include bsp/xilinx/soc/drivers/xilinx.scc |
6 | # include bsp/xilinx/soc/zynqmp-ip.scc | 6 | include bsp/xilinx/soc/drivers/zynqmp.scc |
7 | include bsp/xilinx/common.scc | 7 | include bsp/xilinx/common.scc |
8 | 8 | ||
9 | include cfg/timer/no_hz.scc | 9 | include cfg/timer/no_hz.scc |
diff --git a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg b/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg index 70210a01..8e298861 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/scsi/scsi-generic.cfg | |||
@@ -1,4 +1,5 @@ | |||
1 | 1 | ||
2 | # Generic SCSI | 2 | # Generic SCSI |
3 | CONFIG_CHR_DEV_SG=y | 3 | CONFIG_CHR_DEV_SG=y |
4 | # (For linux-xlnx 3.14) | ||
4 | CONFIG_SCSI_MULTI_LUN=y | 5 | CONFIG_SCSI_MULTI_LUN=y |
diff --git a/recipes-kernel/linux/config/xilinx-common/features/xen/xen.cfg b/recipes-kernel/linux/config/xilinx-common/features/xen/xen.cfg index 835802e0..ee01563b 100644 --- a/recipes-kernel/linux/config/xilinx-common/features/xen/xen.cfg +++ b/recipes-kernel/linux/config/xilinx-common/features/xen/xen.cfg | |||
@@ -1,9 +1,4 @@ | |||
1 | ### | 1 | ### |
2 | # linux 3.4, 3.8 | ||
3 | CONFIG_PARAVIRT_GUEST=y | ||
4 | ### | ||
5 | |||
6 | ### | ||
7 | # linux 3.10 | 2 | # linux 3.10 |
8 | CONFIG_HYPERVISOR_GUEST=y | 3 | CONFIG_HYPERVISOR_GUEST=y |
9 | ### | 4 | ### |
@@ -11,9 +6,7 @@ CONFIG_HYPERVISOR_GUEST=y | |||
11 | CONFIG_PARAVIRT=y | 6 | CONFIG_PARAVIRT=y |
12 | CONFIG_XEN=y | 7 | CONFIG_XEN=y |
13 | CONFIG_XEN_DOM0=y | 8 | CONFIG_XEN_DOM0=y |
14 | CONFIG_XEN_PRIVILEGED_GUEST=y | ||
15 | CONFIG_XEN_PVHVM=y | 9 | CONFIG_XEN_PVHVM=y |
16 | CONFIG_XEN_MAX_DOMAIN_MEMORY=500 | ||
17 | CONFIG_XEN_SAVE_RESTORE=y | 10 | CONFIG_XEN_SAVE_RESTORE=y |
18 | CONFIG_PARAVIRT_CLOCK=y | 11 | CONFIG_PARAVIRT_CLOCK=y |
19 | CONFIG_HIBERNATE_CALLBACKS=y | 12 | CONFIG_HIBERNATE_CALLBACKS=y |