MIPS: Lemote 2F: Add a LEMOTE_MACH2F kernel option
[linux-2.6/libata-dev.git] / arch / mips / include / asm / mach-loongson / machine.h
blobacf8359cb1358cfc1e063867c191e2c74ec5cd71
1 /*
2 * Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology
3 * Author: Wu Zhangjin <wuzj@lemote.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 #endif /* __ASM_MACH_LOONGSON_MACHINE_H */