]> git.dujemihanovic.xyz Git - u-boot.git/commit
Blackfin: serial: move early debug strings into .rodata section
authorMike Frysinger <vapier@gentoo.org>
Wed, 29 Jun 2011 20:21:28 +0000 (16:21 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 06:17:46 +0000 (02:17 -0400)
commite8e35efc8f2a16cf72ddc475df4ff26d76f03d1e
treec01ebe9491bdac085826ecb5962f42f5c0a25880
parentfd48d591009a1744c3fb76262af49357d66488ca
Blackfin: serial: move early debug strings into .rodata section

Rewrite the assembly serial_early_puts() helper to place the strings
in the .rodata section rather than embedding them directly in the
.text section.  Using .text is a little simpler, but it doesn't let
people execute out of internal L1 sram (since core reads don't work
on those regions).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/cpu/serial.h