]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx8qxp-mek: Move ATF_PLATFORM and IMX_BOOT_SOC_TARGET
authorTom Hochstein <tom.hochstein@nxp.com>
Fri, 21 May 2021 13:56:47 +0000 (08:56 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 21 May 2021 14:27:49 +0000 (11:27 -0300)
The values of ATF_PLATFORM and IMX_BOOT_SOC_TARGET are not shared by
imx8dx-mek, so move them out of imx8x-mek.inc and into the machine
config file itself.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
conf/machine/imx8qxp-mek.conf
conf/machine/include/imx8x-mek.inc

index fe0f67276b1ab2b04dcc65342d342be803890bb0..5b29138fc3fdb5293e4e615cedb578f4660472c3 100644 (file)
@@ -24,3 +24,7 @@ KERNEL_DEVICETREE_append_use-nxp-bsp = " \
 "
 
 UBOOT_CONFIG_BASENAME = "imx8qxp_mek"
+
+ATF_PLATFORM = "imx8qx"
+
+IMX_BOOT_SOC_TARGET = "iMX8QX"
index 814a34c1abeafdae69e568b59ecc033f89bd099b..55a28c877e60d1e202b77be1d61e53f52c0a8142 100644 (file)
@@ -59,9 +59,6 @@ IMX_BOOT_SEEK = "32"
 IMX_DEFAULT_BOOTLOADER = "u-boot-imx"
 UBOOT_SUFFIX = "bin"
 
-# Set ATF platform name
-ATF_PLATFORM = "imx8qx"
-
 IMXBOOT_TARGETS_SD = \
     "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'flash_spl', \
                                                        'flash', d)}"
@@ -71,8 +68,6 @@ IMXBOOT_TARGETS_FSPI = \
 IMXBOOT_TARGETS = \
     "${@bb.utils.contains('UBOOT_CONFIG',        'sd', '${IMXBOOT_TARGETS_SD}', \
                                                        '${IMXBOOT_TARGETS_FSPI}', d)}"
-IMX_BOOT_SOC_TARGET = "iMX8QX"
-
 BOARD_TYPE = "mek"
 
 # Add additional firmware