forked from Mirrors/opensbi
platform: generic: thead: move to thead c9xx header to vendor specific postion
The CSR encoding for t-head c9xx cores is shared across all the platforms with these cores. So move header thead_c9xx.h to the thead subdir. Signed-off-by: Inochi Amaoto <inochiama@outlook.com> Acked-by: Guo Ren <guoren@kernel.org> Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:

committed by
Anup Patel

parent
5d0ed1bfb8
commit
c1a6987447
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <platform_override.h>
|
||||
#include <thead_c9xx.h>
|
||||
#include <thead/c9xx_encoding.h>
|
||||
#include <sbi/riscv_asm.h>
|
||||
#include <sbi/riscv_io.h>
|
||||
#include <sbi/sbi_bitops.h>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef __RISCV_THEAD_C9XX_H____
|
||||
#define __RISCV_THEAD_C9XX_H____
|
||||
#ifndef __RISCV_THEAD_C9XX_ENCODING_H____
|
||||
#define __RISCV_THEAD_C9XX_ENCODING_H____
|
||||
|
||||
/* T-HEAD C9xx M mode CSR. */
|
||||
#define THEAD_C9XX_CSR_MXSTATUS 0x7c0
|
Reference in New Issue
Block a user