summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Opaniuk <igor.opaniuk@toradex.com>2020-10-30 17:28:25 +0200
committerDenys Drozdov <denys.drozdov@toradex.com>2021-01-08 19:42:09 +0200
commitba0cc26acfe7adf496456cf73e7ed282ae9cd100 (patch)
tree240983250e8d537d425b3701f381d8af85e0e879
parent3d7b4872098c36bb7d11dcbcd9ec677967d86c14 (diff)
apalis/colibri-imx8x: disable CONFIG_OF_EMBED
When CONFIG_OF_EMBED=y, the buildinfo is calculated wrongly: /* Get imx-mkimage commit id. * The imx-mkimage puts the commit hash behind the end of u-boot.bin */ mkimage_commit = (char *)(ulong)(CONFIG_SYS_TEXT_BASE + end_ofs + fdt_totalsize(gd->fdt_blob)); temp = mkimage_commit + 8; *temp = '\0'; With this change BuildInfo is shown correctly: BuildInfo: - SCFW 732e719a, SECO-FW 376e3c15, IMX-MKIMAGE 6745ccdc, ATF 8565561 - U-Boot 2020.04-00209-ga532101923-dirty Related-by: ELB-3188 Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
-rw-r--r--configs/apalis-imx8x_defconfig1
-rw-r--r--configs/colibri-imx8x_defconfig1
2 files changed, 0 insertions, 2 deletions
diff --git a/configs/apalis-imx8x_defconfig b/configs/apalis-imx8x_defconfig
index 60579c2b38..ea51264268 100644
--- a/configs/apalis-imx8x_defconfig
+++ b/configs/apalis-imx8x_defconfig
@@ -36,7 +36,6 @@ CONFIG_CMD_USB=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_UUID=y
CONFIG_CMD_EXT4_WRITE=y
-CONFIG_OF_EMBED=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qxp-apalis"
CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
diff --git a/configs/colibri-imx8x_defconfig b/configs/colibri-imx8x_defconfig
index 35d01ee4e5..54f101bd36 100644
--- a/configs/colibri-imx8x_defconfig
+++ b/configs/colibri-imx8x_defconfig
@@ -36,7 +36,6 @@ CONFIG_CMD_USB=y
CONFIG_CMD_CACHE=y
CONFIG_CMD_UUID=y
CONFIG_CMD_EXT4_WRITE=y
-CONFIG_OF_EMBED=y
CONFIG_DEFAULT_DEVICE_TREE="fsl-imx8qxp-colibri"
CONFIG_ENV_IS_IN_MMC=y
CONFIG_SYS_RELOC_GD_ENV_ADDR=y