commit | 1497e32950cb64b5a948c1f016dda04913c09376 | [log] [tgz] |
---|---|---|
author | Alexey Brodkin <abrodkin@synopsys.com> | Tue Feb 24 19:31:51 2015 +0300 |
committer | Alexey Brodkin <abrodkin@synopsys.com> | Fri Apr 03 09:47:49 2015 +0300 |
tree | 74495b4e3c9884d6d1495375b91ebd049b9c5cf5 | |
parent | b463048f88154c46a73f48a33e52c4608f6b8b11 [diff] |
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>