b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* LEON Header File select |
2 | * | ||||
3 | * (C) Copyright 2007 | ||||
4 | * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. | ||||
5 | * | ||||
6 | * SPDX-License-Identifier: GPL-2.0+ | ||||
7 | */ | ||||
8 | |||||
9 | #ifndef __ASM_LEON_H__ | ||||
10 | #define __ASM_LEON_H__ | ||||
11 | |||||
12 | #if defined(CONFIG_LEON3) | ||||
13 | |||||
14 | #include <asm/leon3.h> | ||||
15 | |||||
16 | #elif defined(CONFIG_LEON2) | ||||
17 | |||||
18 | #include <asm/leon2.h> | ||||
19 | |||||
20 | #else | ||||
21 | |||||
22 | #error Unknown LEON processor | ||||
23 | |||||
24 | #endif | ||||
25 | |||||
26 | /* Common stuff */ | ||||
27 | |||||
28 | #endif |