summaryrefslogtreecommitdiffstats
path: root/conf/machine/include
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-12-15 15:36:32 -0600
committerOtavio Salvador <otavio@ossystems.com.br>2021-01-21 08:37:58 -0300
commitc96b2aa2e6ec0b1ab90ef26b249762944c5dd065 (patch)
treef615fd8851543c93609cff730385110f6cbb37d4 /conf/machine/include
parent348783cbf2b1d473b0d9a72e0585233a2da7f8b0 (diff)
downloadmeta-freescale-c96b2aa2e6ec0b1ab90ef26b249762944c5dd065.tar.gz
imx8mm-*-evk: Split 8M Mini EVK for LPDDR4 and DDR4 variants
The 8M Mini Evaluation Kit has two variants, one for LPDDR4 and one for DDR4, with two corresponding sets of image components. The current machine configuration places both sets into a single image and boots for LPDDR4. The user must manually update the image to make it work for the DDR4 EVK variant. Simplify the DDR4 case by providing a dedicated machine configuration. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'conf/machine/include')
-rw-r--r--conf/machine/include/imx8mm-evk.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc
new file mode 100644
index 00000000..72255567
--- /dev/null
+++ b/conf/machine/include/imx8mm-evk.inc
@@ -0,0 +1,46 @@
1MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:"
2
3require conf/machine/include/imx-base.inc
4require conf/machine/include/tune-cortexa53.inc
5
6MACHINE_FEATURES += "pci wifi bluetooth optee bcm43455 bcm4356"
7
8# NXP BSP can consume BCM4359 and QCA9377 driver and firmware
9# Since the firmware is not available publicly, and rather distributed
10# under "Proprietary" license - we opt-out from using it in all BSPs
11# and pin it to NXP BSP only
12MACHINE_FEATURES_append_use-nxp-bsp = " bcm4359 qca9377"
13
14KERNEL_DEVICETREE = " \
15 freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \
16"
17KERNEL_DEVICETREE_append_use-nxp-bsp = " \
18 freescale/${KERNEL_DEVICETREE_BASENAME}-pcie-ep.dtb \
19 freescale/${KERNEL_DEVICETREE_BASENAME}-revb.dtb \
20 freescale/${KERNEL_DEVICETREE_BASENAME}-rm67191.dtb \
21"
22UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb"
23
24UBOOT_CONFIG ??= "sd"
25UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard"
26UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig"
27
28SPL_BINARY = "spl/u-boot-spl.bin"
29
30ATF_PLATFORM = "imx8mm"
31
32IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}"
33
34IMX_BOOT_SOC_TARGET = "iMX8MM"
35
36SERIAL_CONSOLES = "115200;ttymxc1"
37
38LOADADDR = ""
39UBOOT_SUFFIX = "bin"
40UBOOT_MAKE_TARGET = ""
41IMX_BOOT_SEEK = "33"
42
43OPTEE_BIN_EXT = "8mm"
44
45# Add additional firmware
46MACHINE_FIRMWARE_append = " linux-firmware-ath10k"