diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2015-02-24 19:31:51 +0300 |
---|---|---|
committer | Alexey Brodkin <abrodkin@synopsys.com> | 2015-04-03 09:47:49 +0300 |
commit | 36d68668e33191d55b2a23c9f0ec0c1ffecd6897 (patch) | |
tree | 74495b4e3c9884d6d1495375b91ebd049b9c5cf5 /arch/arc/lib | |
parent | 8a5c9ca4d0b8aa13a1bb321494d24f656a9a7d72 (diff) | |
download | u-boot-imx-36d68668e33191d55b2a23c9f0ec0c1ffecd6897.zip u-boot-imx-36d68668e33191d55b2a23c9f0ec0c1ffecd6897.tar.gz u-boot-imx-36d68668e33191d55b2a23c9f0ec0c1ffecd6897.tar.bz2 |
serial/serial_arc: set registers address during compilation
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>
Diffstat (limited to 'arch/arc/lib')
0 files changed, 0 insertions, 0 deletions