[PATCH v2 2/2] ARM: uncompress debug support for multiplatform build

Arnd Bergmann arnd at arndb.de
Fri Jan 18 03:47:50 EST 2013


On Friday 18 January 2013, Shawn Guo wrote:
> +ENTRY(putc)
> +       addruart r1, r2, r3
> +       waituart r3, r1
> +       senduart r0, r1
> +       busyuart r3, r1
> +       mov      pc, lr
> +ENDPROC(putc)

Ah, so it actually worked? I was expecting at least some part of
my code to be wrong ;-) My assembler skills are very much
lacking and I had not tried it.

Upon closer inspection, it seems that the CR/LF logic from
the printascii function is not here, and it probably should be.

I also saw that some similar code is already present in
arch/arm/boot/compressed/head.S as a local version of putc,
maybe that can be combined with this rather than adding a new
file.

	Arnd



More information about the linux-arm-kernel mailing list