diff options
| author | Inochi Amaoto <[email protected]> | 2023-10-07 11:06:28 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-11-14 21:53:42 +0530 |
| commit | c1a69874476810aa47bb1ca8bbe7697f855dba5f (patch) | |
| tree | 73c636deafdae412d15b4eb13046c3a11bdce20c | |
| parent | 5d0ed1bfb85c36c927fe35e5ad2f98b5d6322b6e (diff) | |
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 <[email protected]>
Acked-by: Guo Ren <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
| -rw-r--r-- | platform/generic/allwinner/sun20i-d1.c | 2 | ||||
| -rw-r--r-- | platform/generic/include/thead/c9xx_encoding.h (renamed from platform/generic/include/thead_c9xx.h) | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/generic/allwinner/sun20i-d1.c b/platform/generic/allwinner/sun20i-d1.c index a9a7e477..b9602843 100644 --- a/platform/generic/allwinner/sun20i-d1.c +++ b/platform/generic/allwinner/sun20i-d1.c @@ -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> diff --git a/platform/generic/include/thead_c9xx.h b/platform/generic/include/thead/c9xx_encoding.h index bab04082..58adbef0 100644 --- a/platform/generic/include/thead_c9xx.h +++ b/platform/generic/include/thead/c9xx_encoding.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 |
