mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 07:36:47 +07:00
3209e70e5e
The difference between some loongson-based machines is very small, so, if there is no necessary to add new kernel config options to cope with this difference, it will be better to share the same kernel image file between them, benefit from this, the linux distribution developers only have a need to compile the kernel one time. This machtype kernel command line argument will be used later to share the same kernel image file between two different machines(menglong & yeeloong) made by lemote. Thanks very much to Zhang Le for cleaning up the machtype implementation. Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
23 lines
641 B
C
23 lines
641 B
C
/*
|
|
* Copyright (C) 2009 Lemote, Inc. & Institute of Computing Technology
|
|
* Author: Wu Zhangjin <wuzj@lemote.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#ifndef __ASM_MACH_LOONGSON_MACHINE_H
|
|
#define __ASM_MACH_LOONGSON_MACHINE_H
|
|
|
|
#ifdef CONFIG_LEMOTE_FULOONG2E
|
|
|
|
#define LOONGSON_UART_BASE (BONITO_PCIIO_BASE + 0x3f8)
|
|
|
|
#define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E
|
|
|
|
#endif
|
|
|
|
#endif /* __ASM_MACH_LOONGSON_MACHINE_H */
|