Linux 3.15-rc1
[linux/fpc-iii.git] / arch / mips / include / asm / mach-loongson / machine.h
blob1b1f592fa2be7e9eb128c5036653d0bd6ff4c608
1 /*
2 * Copyright (C) 2009 Lemote, Inc.
3 * Author: Wu Zhangjin <wuzhangjin@gmail.com>
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version.
9 */
11 #ifndef __ASM_MACH_LOONGSON_MACHINE_H
12 #define __ASM_MACH_LOONGSON_MACHINE_H
14 #ifdef CONFIG_LEMOTE_FULOONG2E
16 #define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E
18 #endif
20 /* use fuloong2f as the default machine of LEMOTE_MACH2F */
21 #ifdef CONFIG_LEMOTE_MACH2F
23 #define LOONGSON_MACHTYPE MACH_LEMOTE_FL2F
25 #endif
27 #ifdef CONFIG_LEMOTE_MACH3A
29 #define LOONGSON_MACHTYPE MACH_LEMOTE_A1101
31 #endif /* CONFIG_LEMOTE_MACH3A */
33 #endif /* __ASM_MACH_LOONGSON_MACHINE_H */