commit | 9e9e6fe36984c901c7e109bedfb5903302c337c9 | [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 | edfe9a9ff1c984adbb696fc945d03f6c756d0edd [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>