Skip to content

ARM: tegra: Automatic UART selection for earlyprintk

Olof Johansson linux-arm-kernel linux-tegra 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] ARM: tegra: Automatic UART selection for earlyprintk
Quoted 17 lines · Stephen Warren

This series allows a Tegra zImage to automatically select the UART to use for the zImage decompressor and early printk, based on information from the bootloader. The code scans each UART, looking for one that is clocked, is out of reset, and that the bootloader has written 'D' (for 'D'ebug) to the scratch register.

At present, the ChromiumOS branch of U-Boot sets up UARTs in this way. If this patch is accepted into the kernel, I'll upstream the U-Boot change to mainline U-Boot.

This is important, since different boards use different UARTs, and it's nice not to have to configure the kernel differently when switching boards.

This patch series depends on patch "[PATCH V2] arm/tegra: Support Tegra30 in decompressor UART setup" for context.

Quoted 7 lines

Doug Anderson (2):
ARM: tegra: Introduce define DEBUG_UART_SHIFT
ARM: tegra: uncompress.h: Store UART address in a variable

Stephen Warren (2):
ARM: tegra: uncompress.h: Choose a UART at runtime
ARM: tegra: Pass uncompress.h UART selection to DEBUG_LL

Thanks, applied.

-Olof