From 0a236bda5e863b523371e039ca7178d8340992f5 Mon Sep 17 00:00:00 2001 From: Igor Opaniuk Date: Thu, 5 Mar 2020 22:10:41 +0200 Subject: plat: imx8mp: provide uart base as build option Some boards (f.e. Verdin i.MX8M Plus) use different UART base address for serial debug output, so make this value configurable (as a build option). Related-to: ELB-3208 Signed-off-by: Igor Opaniuk Signed-off-by: Marcel Ziswiler Change-Id: I988492ccecbc3f64a5153b381c4a97b8a0181f52 (cherry picked from commit 60a23af2e57931161169c2981bf19af3847c533c) (cherry picked from commit bbfc87c96dec60dda19438b7d6ecd2a5f4431380) --- plat/imx/imx8m/imx8mp/platform.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plat/imx/imx8m/imx8mp/platform.mk') diff --git a/plat/imx/imx8m/imx8mp/platform.mk b/plat/imx/imx8m/imx8mp/platform.mk index b5deff8c..a38c20b2 100644 --- a/plat/imx/imx8m/imx8mp/platform.mk +++ b/plat/imx/imx8m/imx8mp/platform.mk @@ -67,3 +67,6 @@ $(eval $(call add_define,BL32_SIZE)) ifeq (${SPD},trusty) BL31_CFLAGS += -DPLAT_XLAT_TABLES_DYNAMIC=1 endif + +IMX_BOOT_UART_BASE ?= 0x30890000 +$(eval $(call add_define,IMX_BOOT_UART_BASE)) -- cgit v1.2.3