summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-09-30 16:45:22 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-09-30 16:45:22 +0200
commit65ad0c9327000b100eaf51958023f8dac7642753 (patch)
treed89c71ac676d1980573e49b618523212501af25f /recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
parentb8712aa8fc6557d30d6d79d91fbe9e5773276e99 (diff)
u-boot-toradex: colibri-imx7: boot linux kernel in non-secure/secure mode
While NXP i.MX 7 downstream requires the Linux kernel to boot in secure mode mainline/upstream requires non-secure mode instead, as it properly uses PSCI to control further cores. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-toradex_2020.07.bb')
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex_2020.07.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb b/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
index fd6359e..4add74e 100644
--- a/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
+++ b/recipes-bsp/u-boot/u-boot-toradex_2020.07.bb
@@ -7,6 +7,12 @@ PROVIDES += "u-boot"
DEPENDS += "bc-native dtc-native"
+# While NXP i.MX 7 downstream requires the Linux kernel to boot in secure
+# mode mainline/upstream requires non-secure mode instead, as it properly
+# uses PSCI to control further cores.
+SRC_URI_append_use-mainline-bsp_colibri-imx7 = " file://0001-colibri_imx7-boot-linux-kernel-in-non-secure-mode.patch"
+SRC_URI_append_use-mainline-bsp_colibri-imx7-emmc = " file://0001-colibri_imx7-boot-linux-kernel-in-non-secure-mode.patch"
+
BOOT_TOOLS = "imx-boot-tools"
PADDING_DIR = "${B}"