Skip to content
Snippets Groups Projects
Commit 36d68668 authored by Alexey Brodkin's avatar Alexey Brodkin
Browse files

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: default avatarAlexey Brodkin <abrodkin@synopsys.com>
parent 8a5c9ca4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment