Daniel Hellstrom | 1e9a164 | 2008-03-26 22:51:29 +0100 | [diff] [blame] | 1 | /* LEON Header File select |
| 2 | * |
| 3 | * (C) Copyright 2007 |
| 4 | * Daniel Hellstrom, Gaisler Research, daniel@gaisler.com. |
| 5 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 6 | * SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | 1e9a164 | 2008-03-26 22:51:29 +0100 | [diff] [blame] | 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 | |
Daniel Hellstrom | b330990 | 2008-03-28 10:00:33 +0100 | [diff] [blame] | 16 | #elif defined(CONFIG_LEON2) |
| 17 | |
| 18 | #include <asm/leon2.h> |
| 19 | |
Daniel Hellstrom | 1e9a164 | 2008-03-26 22:51:29 +0100 | [diff] [blame] | 20 | #else |
| 21 | |
| 22 | #error Unknown LEON processor |
| 23 | |
| 24 | #endif |
| 25 | |
| 26 | /* Common stuff */ |
| 27 | |
| 28 | #endif |