diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2022-07-23 13:52:57 -0300 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2022-07-29 17:36:38 -0300 |
| commit | 453def7956c864818b6d6a1a44b2b267df3a44fc (patch) | |
| tree | 4fce2610c0338b9c0b44b9cf99280e020fc8a36e /conf/machine/include | |
| parent | 205b34dce629f7345a29b659e3d6bbb7fae8ffb3 (diff) | |
| download | meta-freescale-topic/secure-boot-rework.tar.gz | |
imx-atf: allow setting the UART used during boottopic/secure-boot-rework
A new `ATF_BOOT_UART_BASE` variable can be used in machine to set the
UART aimed for use during the boot, without the need of changing the
source code.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine/include')
| -rw-r--r-- | conf/machine/include/imx-base.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 297637af7..2962c9e97 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -113,6 +113,15 @@ UBOOT_PROVIDES_BOOT_CONTAINER:imx-boot-container = "1" | |||
| 113 | # Default TF-A provider to NXP downstream fork | 113 | # Default TF-A provider to NXP downstream fork |
| 114 | IMX_DEFAULT_ATF_PROVIDER ??= "imx-atf" | 114 | IMX_DEFAULT_ATF_PROVIDER ??= "imx-atf" |
| 115 | 115 | ||
| 116 | # Allow setting the UART used during the boot by ATF. | ||
| 117 | |||
| 118 | # FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART | ||
| 119 | # base address in source code. | ||
| 120 | SOC_ATF_BOOT_UART_BASE = "" | ||
| 121 | |||
| 122 | SOC_ATF_BOOT_UART_BASE:mx8m-generic-bsp = "0x30890000" | ||
| 123 | ATF_BOOT_UART_BASE ?= "${SOC_ATF_BOOT_UART_BASE}" | ||
| 124 | |||
| 116 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | 125 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" |
| 117 | XSERVER_DRIVER = "xf86-video-fbdev" | 126 | XSERVER_DRIVER = "xf86-video-fbdev" |
| 118 | XSERVER_DRIVER:vf-generic-bsp = "xf86-video-modesetting" | 127 | XSERVER_DRIVER:vf-generic-bsp = "xf86-video-modesetting" |
