diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2026-10-01 11:53:34 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-01 11:53:34 -0300 |
| commit | ff024da17ef160d4294f0f2f9dd269bc7f665b64 (patch) | |
| tree | 434769ec38dcec713e28e6a78ee0646a306c23a7 | |
| parent | b118cf04177b9daee66e650ec7a8ce14302e7369 (diff) | |
| parent | c1d960923dd63f618944a18ff9e9a60f4496df3b (diff) | |
| download | meta-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.bb | 6 |
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. |
| 48 | ATF_BOOT_UART_BASE ?= "" | 48 | ATF_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). | ||
| 52 | ATF_SYS_PWR_FULL_CTRL ?= "0" | ||
| 53 | |||
| 50 | EXTRA_OEMAKE += "\ | 54 | EXTRA_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. |
| 76 | EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}' | 80 | EXTRA_OEMAKE += 'IMX_BOOT_UART_BASE=${ATF_BOOT_UART_BASE}' |
| 77 | 81 | ||
| 82 | EXTRA_OEMAKE += 'SYS_PWR_FULL_CTRL=${ATF_SYS_PWR_FULL_CTRL}' | ||
| 83 | |||
| 78 | do_configure[noexec] = "1" | 84 | do_configure[noexec] = "1" |
| 79 | 85 | ||
| 80 | do_install[noexec] = "1" | 86 | do_install[noexec] = "1" |
