commit | 57fe5c64cb078c25c81cf40b5b268dc6857dc00c | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Dec 12 06:12:39 2018 -0800 |
committer | Andes <uboot@andestech.com> | Tue Dec 18 09:56:27 2018 +0800 |
tree | 4fa6a9062fec81a98ec795f031a62b016e570127 | |
parent | aef59e5cc450f403478f799bbb0f0647ff28a3c3 [diff] |
riscv: Add indirect stringification to csr_xxx ops With current csr_xxx ops, we cannot pass a macro to parameter 'csr', hence we need add another level to allow the parameter to be a macro itself, aka indirect stringification. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de> Reviewed-by: Anup Patel <anup@brainfault.org>