[linux-yocto] [PATCH v3 11/11] Quark/X1000: Add new SOC and BSP
Saul Wold
sgw at linux.intel.com
Wed Jul 1 16:41:41 PDT 2015
Some how I had a typo in these two patches, I fixed the typos and just
resent these two as v3, the rest of the series is still v2.
I saw Darren's comments and will wait for Bruce's comments next week.
Sau!
On 07/01/2015 04:35 PM, Saul Wold wrote:
> 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 <sgw at 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
>
More information about the linux-yocto
mailing list