diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2020-12-15 15:36:32 -0600 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-01-21 08:37:58 -0300 |
commit | c96b2aa2e6ec0b1ab90ef26b249762944c5dd065 (patch) | |
tree | f615fd8851543c93609cff730385110f6cbb37d4 /conf/machine/include/imx8mm-evk.inc | |
parent | 348783cbf2b1d473b0d9a72e0585233a2da7f8b0 (diff) | |
download | meta-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/imx8mm-evk.inc')
-rw-r--r-- | conf/machine/include/imx8mm-evk.inc | 46 |
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 @@ | |||
1 | MACHINEOVERRIDES =. "mx8:mx8m:mx8mm:" | ||
2 | |||
3 | require conf/machine/include/imx-base.inc | ||
4 | require conf/machine/include/tune-cortexa53.inc | ||
5 | |||
6 | MACHINE_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 | ||
12 | MACHINE_FEATURES_append_use-nxp-bsp = " bcm4359 qca9377" | ||
13 | |||
14 | KERNEL_DEVICETREE = " \ | ||
15 | freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ | ||
16 | " | ||
17 | KERNEL_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 | " | ||
22 | UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" | ||
23 | |||
24 | UBOOT_CONFIG ??= "sd" | ||
25 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | ||
26 | UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig" | ||
27 | |||
28 | SPL_BINARY = "spl/u-boot-spl.bin" | ||
29 | |||
30 | ATF_PLATFORM = "imx8mm" | ||
31 | |||
32 | IMXBOOT_TARGETS = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', '${IMXBOOT_TARGETS_BASENAME}', d)}" | ||
33 | |||
34 | IMX_BOOT_SOC_TARGET = "iMX8MM" | ||
35 | |||
36 | SERIAL_CONSOLES = "115200;ttymxc1" | ||
37 | |||
38 | LOADADDR = "" | ||
39 | UBOOT_SUFFIX = "bin" | ||
40 | UBOOT_MAKE_TARGET = "" | ||
41 | IMX_BOOT_SEEK = "33" | ||
42 | |||
43 | OPTEE_BIN_EXT = "8mm" | ||
44 | |||
45 | # Add additional firmware | ||
46 | MACHINE_FIRMWARE_append = " linux-firmware-ath10k" | ||