commit | af5128581680b5014ee1b3ae358a4466ed57c12c | [log] [tgz] |
---|---|---|
author | Lukas Auer <lukas.auer@aisec.fraunhofer.de> | Thu Nov 22 11:26:25 2018 +0100 |
committer | Andes <uboot@andestech.com> | Mon Nov 26 13:57:31 2018 +0800 |
tree | a9ca7b04151fcbda9a104cc43e70604e3fe376df | |
parent | 7cf4368847a01c226df1f351961dfc824f66d8b9 [diff] |
riscv: align mtvec on a 4-byte boundary The machine trap-vector base address (mtvec) must be aligned on a 4-byte boundary. Add the necessary align directive to trap_entry. This patch also removes the global directive for trap_entry, which is not required. Signed-off-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>