Skip to content
Commit 2a1275cc authored by Chris Boot's avatar Chris Boot Committed by Dom Cobley
Browse files

mach-bcm2708: fix mach/debug-macro.S so that early printk works



Not sure what the original code was trying to do as it was completely
wrong on many levels. This patch fixes the macro to return the correct
physical and virtual addresses of the PL011 UART on the RPi.

Note that you need to boot the compressed kernel (zImage) so that the
UART is configured at boot, or your kernel will hang when it tries to
access the UART.

Signed-off-by: default avatarChris Boot <bootc@bootc.net>
parent 6b812ebe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment