Add the new intel-quark bsp type using the refactored x86_base and Intel Vendor enablers. Create a new soc for the x1000 SOC package.
Signed-off-by: Saul Wold <s...@linux.intel.com> --- v2: Updated for additional refactor related changes - use pci.scc - added serial.scc - added bosch-pressure-sensor v3: fixed typo that slipped through (maybe due to branching issue) .../bsp/intel-common/intel-quark-standard.scc | 14 +++++++++ .../kernel-cache/bsp/intel-common/intel-quark.cfg | 6 ++++ .../kernel-cache/bsp/intel-common/intel-quark.scc | 24 +++++++++++++++ meta/cfg/kernel-cache/features/soc/x1000/x1000.cfg | 25 +++++++++++++++ meta/cfg/kernel-cache/features/soc/x1000/x1000.scc | 36 ++++++++++++++++++++++ 5 files changed, 105 insertions(+) create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-quark-standard.scc create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-quark.cfg create mode 100644 meta/cfg/kernel-cache/bsp/intel-common/intel-quark.scc create mode 100644 meta/cfg/kernel-cache/features/soc/x1000/x1000.cfg create mode 100644 meta/cfg/kernel-cache/features/soc/x1000/x1000.scc diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-quark-standard.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-quark-standard.scc new file mode 100644 index 0000000..c331b9c --- /dev/null +++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-quark-standard.scc @@ -0,0 +1,14 @@ +# intel-quark-standard.scc +# +# Standard ktype for 32 bit Quark / X1000 CPUs +# + +define KMACHINE intel-quark +define KARCH i386 +define KTYPE standard + +include ktypes/standard/standard.scc +include intel-common.scc +include features/power/intel.scc +include intel-common-drivers-32.scc +include intel-quark.scc diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-quark.cfg b/meta/cfg/kernel-cache/bsp/intel-common/intel-quark.cfg new file mode 100644 index 0000000..ef6c63c --- /dev/null +++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-quark.cfg @@ -0,0 +1,6 @@ +CONFIG_M586TSC=y +CONFIG_X86_TSC=y +CONFIG_X86_MCE=y +CONFIG_PM=y + +CONFIG_MFD_INTEL_QUARK_I2C_GPIO=y diff --git a/meta/cfg/kernel-cache/bsp/intel-common/intel-quark.scc b/meta/cfg/kernel-cache/bsp/intel-common/intel-quark.scc new file mode 100644 index 0000000..449a9fc --- /dev/null +++ b/meta/cfg/kernel-cache/bsp/intel-common/intel-quark.scc @@ -0,0 +1,24 @@ +# intel-quark.scc +# +# Core platform enablement for all intel-quark ktypes. This should only +# contain CPU features and devices known to be present on the supported +# platforms, SoCs, and boards. +# + +include cfg/x86_base.scc + +# We want to include the Intel CPU Specific configs +include cfg/intel.scc + +include cfg/timer/hz_100.scc + +# Supported platforms and SoCs +include features/soc/x1000/x1000.scc +include features/usb/serial-all.scc + +# Add misc drivers for IoT support +include features/misc/bosch-pressure-sensor-i2c.scc + +# This line comes last as it has the final word on +# CONFIG values. +kconf hardware intel-quark.cfg diff --git a/meta/cfg/kernel-cache/features/soc/x1000/x1000.cfg b/meta/cfg/kernel-cache/features/soc/x1000/x1000.cfg new file mode 100644 index 0000000..065bfb3 --- /dev/null +++ b/meta/cfg/kernel-cache/features/soc/x1000/x1000.cfg @@ -0,0 +1,25 @@ +CONFIG_MFD_INTEL_QUARK_I2C_GPIO=y + +CONFIG_BLK_DEV=y + +CONFIG_DMADEVICES=y + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=y +CONFIG_MMC_BLOCK_MINORS=8 +CONFIG_MMC_BLOCK_BOUNCE=y + +# +# MMC/SD/SDIO Host Controller Drivers +# +CONFIG_MMC=y +CONFIG_MMC_SDHCI=y +CONFIG_MMC_SDHCI_PCI=y +CONFIG_MMC_RICOH_MMC=y +CONFIG_MMC_SDHCI_ACPI=y +CONFIG_MMC_SDHCI_PLTFM=y +CONFIG_MMC_USHC=m + +CONFIG_USB_OTG=y diff --git a/meta/cfg/kernel-cache/features/soc/x1000/x1000.scc b/meta/cfg/kernel-cache/features/soc/x1000/x1000.scc new file mode 100644 index 0000000..5a43888 --- /dev/null +++ b/meta/cfg/kernel-cache/features/soc/x1000/x1000.scc @@ -0,0 +1,36 @@ +# Borrow the driver selection from common-pc until +# it is better abstracted on its own. +kconf hardware bsp/common-pc/common-pc-drivers.cfg +kconf hardware bsp/common-pc/common-pc-eth.cfg +kconf hardware bsp/common-pc/common-pc-wifi.cfg + +# PCI +include features/pci/pci.scc + +# USB +# theses are are modules in the Quark setup +include features/usb/ehci-hcd.scc + +# Networking +include features/stmicro/stmmac.scc +include features/iwlwifi/iwlwifi.scc + +# Industrial IO Support +include features/iio/iio.scc + +# Intel technology +include features/amt/mei/mei.scc + +# Subsystems and interfaces +include features/i2c/i2cdev.scc +include features/leds/leds.scc +include features/spi/spidev.scc + +# Miscellaneous +include features/uio/uio.scc + +# default policy for standard kernels +include cfg/usb-mass-storage.scc +include features/profiling/profiling.scc + +kconf hardware x1000.cfg -- 2.1.0 -- _______________________________________________ linux-yocto mailing list linux-yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/linux-yocto