summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2026-10-01 11:53:34 -0300
committerGitHub <noreply@github.com>2026-10-01 11:53:34 -0300
commitff024da17ef160d4294f0f2f9dd269bc7f665b64 (patch)
tree434769ec38dcec713e28e6a78ee0646a306c23a7
parentb118cf04177b9daee66e650ec7a8ce14302e7369 (diff)
parentc1d960923dd63f618944a18ff9e9a60f4496df3b (diff)
downloadmeta-freescale-ff024da17ef160d4294f0f2f9dd269bc7f665b64.tar.gz
Merge pull request #2775 from Freescale/backport-2773-to-wrynose
[Backport wrynose] imx-atf: add generic ATF_SYS_PWR_FULL_CTRL passthrough
-rw-r--r--recipes-bsp/imx-atf/imx-atf_2.14.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.14.bb b/recipes-bsp/imx-atf/imx-atf_2.14.bb
index 8b0d4dd92..03cc2f381 100644
--- a/recipes-bsp/imx-atf/imx-atf_2.14.bb
+++ b/recipes-bsp/imx-atf/imx-atf_2.14.bb
@@ -47,6 +47,10 @@ ATF_PLATFORM ??= "INVALID"
47# base address in source code. 47# base address in source code.
48ATF_BOOT_UART_BASE ?= "" 48ATF_BOOT_UART_BASE ?= ""
49 49
50# Selects whether BL31 requests a full SoC/board power-down or reset via
51# SCMI (IMX9_SCMI_SYS_PWR_FULL_SHUTDOWN/_RESET).
52ATF_SYS_PWR_FULL_CTRL ?= "0"
53
50EXTRA_OEMAKE += "\ 54EXTRA_OEMAKE += "\
51 CROSS_COMPILE=${TARGET_PREFIX} \ 55 CROSS_COMPILE=${TARGET_PREFIX} \
52 PLAT=${ATF_PLATFORM} \ 56 PLAT=${ATF_PLATFORM} \
@@ -75,6 +79,8 @@ EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
75# Set the UART to use during the boot. 79# Set the UART to use during the boot.
76EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}' 80EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}'
77 81
82EXTRA_OEMAKE += 'SYS_PWR_FULL_CTRL=${ATF_SYS_PWR_FULL_CTRL}'
83
78do_configure[noexec] = "1" 84do_configure[noexec] = "1"
79 85
80do_install[noexec] = "1" 86do_install[noexec] = "1"