diff options
| author | magh <magh@maghmogh.com> | 2023-03-06 18:44:55 -0600 |
|---|---|---|
| committer | magh <magh@maghmogh.com> | 2023-03-06 18:44:55 -0600 |
| commit | e80d9d8871b325a04b18f90a9ea4bb7fd148fb25 (patch) | |
| tree | 79dbdb8506b7ff1e92549188d1b94cfc0b3503ae /tools/src/soc.h | |
Diffstat (limited to 'tools/src/soc.h')
| -rw-r--r-- | tools/src/soc.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/src/soc.h b/tools/src/soc.h new file mode 100644 index 0000000..26ddddc --- /dev/null +++ b/tools/src/soc.h @@ -0,0 +1,25 @@ +/* SPDX-License-Identifier: MIT */ + +#ifndef __SOC_H__ +#define __SOC_H__ + +#include "../config.h" + +#define T8103 0x8103 +#define T8112 0x8112 +#define T6000 0x6000 +#define T6001 0x6001 +#define T6002 0x6002 + +#ifdef TARGET + +#if TARGET == T8103 +#define EARLY_UART_BASE 0x235200000 +#elif TARGET == T6000 || TARGET == T6001 || TARGET == T6002 +#define EARLY_UART_BASE 0x39b200000 +#elif TARGET == T8112 +#define EARLY_UART_BASE 0x235200000 +#endif + +#endif +#endif |
