mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 19:31:32 +00:00
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:
parent
5d0ed1bfb8
commit
c1a6987447
2 changed files with 3 additions and 3 deletions
|
@ -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
|
Loading…
Add table
Reference in a new issue