diff options
author | Rick Chen <rick@andestech.com> | 2019-11-14 13:52:27 +0800 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2019-12-10 08:23:10 +0800 |
commit | 444c46413fb691c7abbb2bec3ed498ab08fa36f8 (patch) | |
tree | 6649bffbc1673264e11cd66d362c74e53508a289 /arch/riscv/dts/ae350_32.dts | |
parent | 31dae22faa65534cb71631f6c74cbdcf4930a339 (diff) |
riscv: Fix clear bss loop in the start-up code
For RV64, it will use sd instruction to clear t0
register, and the increament will be 8 bytes. So
if the difference between__bss_strat and __bss_end
was not 8 bytes aligned, the clear bss loop will
overflow and acks like system hang.
Signed-off-by: Rick Chen <rick@andestech.com>
Cc: KC Lin <kclin@andestech.com>
Cc: Alan Kao <alankao@andestech.com>
Diffstat (limited to 'arch/riscv/dts/ae350_32.dts')
0 files changed, 0 insertions, 0 deletions