aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine/imx6qdlsabreauto.conf
blob: 7464cb08a38091869aec58967fa5fbea26f75f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#@TYPE: Machine
#@NAME: NXP i.MX6QP/Q/DL SABRE Automotive
#@SOC: i.MX6QP/Q/DL
#@DESCRIPTION: Machine configuration for NXP i.MX6QP/Q/DL SABRE Automotive
#@MAINTAINER: Daiane Angolini <daiane.angolini@nxp.com>
#
# This machine replaces the following machines:
#    * imx6qpsabreauto
#    * imx6qsabreauto
#    * imx6dlsabreauto
#    * imx6solosabreauto
# and is able to work for all the machines.

MACHINEOVERRIDES =. "mx6:mx6q:mx6dl:"

require conf/machine/include/imx-base.inc
require conf/machine/include/tune-cortexa9.inc

KERNEL_DEVICETREE = " \
    imx6qp-sabreauto.dtb imx6qp-sabreauto-ecspi.dtb imx6qp-sabreauto-flexcan1.dtb \
    imx6qp-sabreauto-gpmi-weim.dtb \
    \
    imx6q-sabreauto.dtb imx6q-sabreauto-gpmi-weim.dtb imx6q-sabreauto-ecspi.dtb \
    imx6q-sabreauto-flexcan1.dtb imx6q-sabreauto-enetirq.dtb \
    \
    imx6dl-sabreauto.dtb imx6dl-sabreauto-gpmi-weim.dtb imx6dl-sabreauto-ecspi.dtb \
    imx6dl-sabreauto-flexcan1.dtb imx6dl-sabreauto-enetirq.dtb \
"
KERNEL_DEVICETREE_use-mainline-bsp = " \
    imx6qp-sabreauto.dtb \
    imx6q-sabreauto.dtb \
    imx6dl-sabreauto.dtb \
"

UBOOT_MACHINE ?= "mx6sabreauto_defconfig"

# These u-boot variables default to the correct settings for u-boot-imx.
# Set overrides for u-boot-fslc.
UBOOT_MAKE_TARGET_pn-u-boot-fslc = "all"
UBOOT_SUFFIX_pn-u-boot-fslc = "img"
SPL_BINARY_pn-u-boot-fslc = "SPL"
WKS_FILE_pn-u-boot-fslc = "imx-uboot-spl-bootpart.wks.in"

# The fsl distro uses u-boot-imx which does not provide unified functionality
# for dl/q/qp SoC variants. Change the defconfig to the targeted SoC variant.
UBOOT_MACHINE_fsl = "mx6qsabreauto_defconfig"

SERIAL_CONSOLES = "115200;ttymxc3"

MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k"

MACHINE_FEATURES += " pci wifi bluetooth"