diff options
author | Igor Opaniuk <igor.opaniuk@gmail.com> | 2020-03-23 17:21:05 +0200 |
---|---|---|
committer | Igor Opaniuk <igor.opaniuk@gmail.com> | 2020-03-23 17:24:21 +0200 |
commit | 30617cca3f084c0b4746f957275a936715defb2f (patch) | |
tree | 71f1db3ae0a6ac238e6cc366b77538e63496c78d /make_helpers | |
parent | 65396234d9d99e4afa7f8ad59a7ac5712d2235f9 (diff) | |
download | platform_external_arm-trusted-firmware-30617cca3f084c0b4746f957275a936715defb2f.tar.gz platform_external_arm-trusted-firmware-30617cca3f084c0b4746f957275a936715defb2f.tar.bz2 platform_external_arm-trusted-firmware-30617cca3f084c0b4746f957275a936715defb2f.zip |
plat: imx: imx8qx: provide debug uart num as build param
1. This removes hardcoded iomux/clk/addr configuration for debug uart,
provides possibility (as a workaround, till that information isn't
provided via DT) to set this configuration during compile time via
IMX_DEBUG_UART build flag.
Also for Colibri i.MX8QXP different pinmux configuration is applied
for UART3, FLEXCAN2_RX/TX pads are muxed to ADMA_UART3_RX/TX.
2. Having DEBUG_CONSOLE enabled without enabling DEBUG_CONSOLE_A35
doesn't make sense (since UART pinmux/clock configuration is applied
for UART only when DEBUG_CONSOLE_A35 is enabled. Check similar commit
for i.MX8QM 98a69dfd4a("plat: imx: imx8qm: apply clk/pinmux
configuration for DEBUG_CONSOLE")).
Usage:
$ make PLAT=imx8qx IMX_DEBUG_UART=3 DEBUG_CONSOLE=1 bl31
Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Change-Id: I5d04939b2e8ee1a5f4b2f3c6241977d3c6e91760
Diffstat (limited to 'make_helpers')
0 files changed, 0 insertions, 0 deletions