diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-03-29 11:50:24 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-30 08:55:00 -0300 |
commit | 823a97cf01828c6f3696b0b5be7d4feaa755cb59 (patch) | |
tree | 8a128739e0016d987ce30446c46d4723d6c6af44 /conf/machine/include/imx8mp-evk.inc | |
parent | 02eb3ffd5ac527f5e8f360b26dba1cd6faee4dff (diff) | |
download | meta-freescale-823a97cf01828c6f3696b0b5be7d4feaa755cb59.tar.gz |
imx8mp-lpddr4-evk: Rework 8M Plus EVK config file
There are two variants of the 8M Plus Evaluation Kit board, one with
LPDDR4 and one with DDR4. Rework our existing config file to make
this distinction explicit in the machine config file name and to allow
for configuration re-use.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'conf/machine/include/imx8mp-evk.inc')
-rw-r--r-- | conf/machine/include/imx8mp-evk.inc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc new file mode 100644 index 00000000..7da9f137 --- /dev/null +++ b/conf/machine/include/imx8mp-evk.inc | |||
@@ -0,0 +1,55 @@ | |||
1 | MACHINEOVERRIDES =. "imx-boot-container:mx8:mx8m:mx8mp:" | ||
2 | |||
3 | require conf/machine/include/imx-base.inc | ||
4 | require conf/machine/include/tune-cortexa53.inc | ||
5 | |||
6 | MACHINE_FEATURES += "pci wifi bluetooth jailhouse" | ||
7 | |||
8 | # OP-TEE is also applicable to NXP BSP, mainline BSP seems not to have | ||
9 | # a full support for it yet. | ||
10 | MACHINE_FEATURES_append_use-nxp-bsp = " optee mrvl8997" | ||
11 | |||
12 | # Mainline kernel contains only one DTB file for | ||
13 | # imx8mpevk machine | ||
14 | KERNEL_DEVICETREE = " \ | ||
15 | freescale/${KERNEL_DEVICETREE_BASENAME}.dtb \ | ||
16 | " | ||
17 | |||
18 | UBOOT_DTB_NAME = "${KERNEL_DEVICETREE_BASENAME}.dtb" | ||
19 | |||
20 | IMX_DEFAULT_BOOTLOADER_use-nxp-bsp = "u-boot-imx" | ||
21 | IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc" | ||
22 | |||
23 | UBOOT_SUFFIX = "bin" | ||
24 | |||
25 | UBOOT_CONFIG ??= "sd" | ||
26 | UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_BASENAME}_defconfig,sdcard" | ||
27 | UBOOT_CONFIG[ecc] = "${UBOOT_CONFIG_BASENAME}_inline_ecc_defconfig" | ||
28 | UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_BASENAME}_defconfig" | ||
29 | |||
30 | SPL_BINARY = "spl/u-boot-spl.bin" | ||
31 | |||
32 | ATF_PLATFORM = "imx8mp" | ||
33 | ATF_LOAD_ADDR = "0x970000" | ||
34 | |||
35 | # Extra firmware package name, that is required to build boot container for fslc bsp | ||
36 | IMX_EXTRA_FIRMWARE = "firmware-imx-8m" | ||
37 | |||
38 | IMXBOOT_TARGETS = \ | ||
39 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', '${IMXBOOT_TARGETS_BASENAME}_flexspi', \ | ||
40 | '${IMXBOOT_TARGETS_BASENAME}', d)}" | ||
41 | |||
42 | IMX_BOOT_SOC_TARGET = "iMX8MP" | ||
43 | |||
44 | SERIAL_CONSOLES = "115200;ttymxc1" | ||
45 | |||
46 | LOADADDR = "" | ||
47 | UBOOT_SUFFIX = "bin" | ||
48 | UBOOT_MAKE_TARGET = "" | ||
49 | IMX_BOOT_SEEK = "32" | ||
50 | |||
51 | OPTEE_BIN_EXT = "8mp" | ||
52 | TEE_LOAD_ADDR = "0x56000000" | ||
53 | |||
54 | # Add additional firmware | ||
55 | MACHINE_FIRMWARE_append = " linux-firmware-ath10k" | ||