]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
serial/serial_arc: set registers address during compilation
authorAlexey Brodkin <abrodkin@synopsys.com>
Tue, 24 Feb 2015 16:31:51 +0000 (19:31 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Fri, 3 Apr 2015 06:47:49 +0000 (09:47 +0300)
Being global variable with 0 value it falls into .bss area which we may
only use after relocation to RAM. And right afetr relocation we zero
.bss - effectively cleaing register address set for early console.

Now with pre-set value "regs" variable is no longer in .bss and this way
safely survives relocation.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

No differences found