riscv: Remove CSR read/write defines in encoding.h
authorBin Meng <bmeng.cn@gmail.com>
Wed, 26 Sep 2018 13:55:15 +0000 (06:55 -0700)
committerAndes <uboot@andestech.com>
Wed, 3 Oct 2018 09:48:02 +0000 (17:48 +0800)
commite5ea1e586076b6c130e16e4a45749fc65679663d
treee5dcf55284e509420ffda46c07943830f2fb6bcc
parent2fab2e9c88c4ceba9156411474b8cfceadeb61fa
riscv: Remove CSR read/write defines in encoding.h

There is no reason to keep two versions of CSR read/write defines
in encoding.h. We already have one set of defines in csr.h, which
is from Linux kernel, and let's drop the one in encoding.h.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Rick Chen <rick@andestech.com>
arch/riscv/include/asm/encoding.h