machine.h 816 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (C) 2009 Lemote, Inc.
  3. * Author: Wu Zhangjin <wuzhangjin@gmail.com>
  4. *
  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. */
  10. #ifndef __ASM_MACH_LOONGSON64_MACHINE_H
  11. #define __ASM_MACH_LOONGSON64_MACHINE_H
  12. #ifdef CONFIG_LEMOTE_FULOONG2E
  13. #define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E
  14. #endif
  15. /* use fuloong2f as the default machine of LEMOTE_MACH2F */
  16. #ifdef CONFIG_LEMOTE_MACH2F
  17. #define LOONGSON_MACHTYPE MACH_LEMOTE_FL2F
  18. #endif
  19. #ifdef CONFIG_LOONGSON_MACH3X
  20. #define LOONGSON_MACHTYPE MACH_LOONGSON_GENERIC
  21. #endif /* CONFIG_LOONGSON_MACH3X */
  22. #endif /* __ASM_MACH_LOONGSON64_MACHINE_H */