Select Git revision
serial_arc.c
Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Alexey Brodkin authored
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>
Alexey Brodkin authoredBeing 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>