diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/mips/Kconfig | 8 | ||||
| -rw-r--r-- | arch/mips/Makefile | 8 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h (renamed from arch/mips/include/asm/mach-lemote/cpu-feature-overrides.h) | 6 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-loongson/dma-coherence.h (renamed from arch/mips/include/asm/mach-lemote/dma-coherence.h) | 6 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-loongson/loongson.h (renamed from arch/mips/include/asm/mach-lemote/loongson.h) | 3 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-loongson/mc146818rtc.h (renamed from arch/mips/include/asm/mach-lemote/mc146818rtc.h) | 6 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-loongson/pci.h (renamed from arch/mips/include/asm/mach-lemote/pci.h) | 6 | ||||
| -rw-r--r-- | arch/mips/include/asm/mach-loongson/war.h (renamed from arch/mips/include/asm/mach-lemote/war.h) | 6 | ||||
| -rw-r--r-- | arch/mips/include/asm/mips-boards/bonito64.h | 2 | ||||
| -rw-r--r-- | arch/mips/lemote/lm2e/setup.c | 58 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/Makefile (renamed from arch/mips/lemote/lm2e/Makefile) | 2 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/bonito-irq.c (renamed from arch/mips/lemote/lm2e/bonito-irq.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/cmdline.c (renamed from arch/mips/lemote/lm2e/cmdline.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/early_printk.c (renamed from arch/mips/lemote/lm2e/early_printk.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/env.c (renamed from arch/mips/lemote/lm2e/env.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/init.c (renamed from arch/mips/lemote/lm2e/init.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/irq.c (renamed from arch/mips/lemote/lm2e/irq.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/machtype.c (renamed from arch/mips/lemote/lm2e/machtype.c) | 2 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/mem.c (renamed from arch/mips/lemote/lm2e/mem.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/pci.c (renamed from arch/mips/lemote/lm2e/pci.c) | 0 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/reset.c | 44 | ||||
| -rw-r--r-- | arch/mips/loongson/fuloong-2e/time.c (renamed from arch/mips/lemote/lm2e/time.c) | 0 | ||||
| -rw-r--r-- | arch/mips/pci/Makefile | 2 | ||||
| -rw-r--r-- | arch/mips/pci/fixup-fuloong2e.c (renamed from arch/mips/pci/fixup-lm2e.c) | 0 | ||||
| -rw-r--r-- | arch/mips/pci/ops-bonito64.c | 4 |
25 files changed, 73 insertions, 90 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a383dac81018..3414e2301824 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
| @@ -6,7 +6,7 @@ config MIPS | |||
| 6 | select HAVE_ARCH_KGDB | 6 | select HAVE_ARCH_KGDB |
| 7 | # Horrible source of confusion. Die, die, die ... | 7 | # Horrible source of confusion. Die, die, die ... |
| 8 | select EMBEDDED | 8 | select EMBEDDED |
| 9 | select RTC_LIB if !LEMOTE_FULONG | 9 | select RTC_LIB if !LEMOTE_FULOONG2E |
| 10 | 10 | ||
| 11 | mainmenu "Linux/MIPS Kernel Configuration" | 11 | mainmenu "Linux/MIPS Kernel Configuration" |
| 12 | 12 | ||
| @@ -174,8 +174,8 @@ config LASAT | |||
| 174 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN | 174 | select SYS_SUPPORTS_64BIT_KERNEL if BROKEN |
| 175 | select SYS_SUPPORTS_LITTLE_ENDIAN | 175 | select SYS_SUPPORTS_LITTLE_ENDIAN |
| 176 | 176 | ||
| 177 | config LEMOTE_FULONG | 177 | config LEMOTE_FULOONG2E |
| 178 | bool "Lemote Fulong mini-PC" | 178 | bool "Lemote Fuloong2e mini-PC" |
| 179 | select ARCH_SPARSEMEM_ENABLE | 179 | select ARCH_SPARSEMEM_ENABLE |
| 180 | select CEVT_R4K | 180 | select CEVT_R4K |
| 181 | select CSRC_R4K | 181 | select CSRC_R4K |
| @@ -196,7 +196,7 @@ config LEMOTE_FULONG | |||
| 196 | select GENERIC_ISA_DMA_SUPPORT_BROKEN | 196 | select GENERIC_ISA_DMA_SUPPORT_BROKEN |
| 197 | select CPU_HAS_WB | 197 | select CPU_HAS_WB |
| 198 | help | 198 | help |
| 199 | Lemote Fulong mini-PC board based on the Chinese Loongson-2E CPU and | 199 | Lemote Fuloong2e mini-PC board based on the Chinese Loongson-2E CPU and |
| 200 | an FPGA northbridge | 200 | an FPGA northbridge |
| 201 | 201 | ||
| 202 | config MIPS_MALTA | 202 | config MIPS_MALTA |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index 861da514a468..7754cbbbf4ed 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
| @@ -314,11 +314,11 @@ cflags-$(CONFIG_WR_PPMC) += -I$(srctree)/arch/mips/include/asm/mach-wrppmc | |||
| 314 | load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 | 314 | load-$(CONFIG_WR_PPMC) += 0xffffffff80100000 |
| 315 | 315 | ||
| 316 | # | 316 | # |
| 317 | # lemote fulong mini-PC board | 317 | # lemote fuloong2e mini-PC board |
| 318 | # | 318 | # |
| 319 | core-$(CONFIG_LEMOTE_FULONG) +=arch/mips/lemote/lm2e/ | 319 | core-$(CONFIG_LEMOTE_FULOONG2E) +=arch/mips/loongson/fuloong-2e/ |
| 320 | load-$(CONFIG_LEMOTE_FULONG) +=0xffffffff80100000 | 320 | load-$(CONFIG_LEMOTE_FULOONG2E) +=0xffffffff80100000 |
| 321 | cflags-$(CONFIG_LEMOTE_FULONG) += -I$(srctree)/arch/mips/include/asm/mach-lemote | 321 | cflags-$(CONFIG_LEMOTE_FULOONG2E) += -I$(srctree)/arch/mips/include/asm/mach-loongson/ |
| 322 | 322 | ||
| 323 | # | 323 | # |
| 324 | # MIPS Malta board | 324 | # MIPS Malta board |
diff --git a/arch/mips/include/asm/mach-lemote/cpu-feature-overrides.h b/arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h index 550a10dc9dba..ce5b6e270e3f 100644 --- a/arch/mips/include/asm/mach-lemote/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h | |||
| @@ -13,8 +13,8 @@ | |||
| 13 | * loongson2f user manual. | 13 | * loongson2f user manual. |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #ifndef __ASM_MACH_LEMOTE_CPU_FEATURE_OVERRIDES_H | 16 | #ifndef __ASM_MACH_LOONGSON_CPU_FEATURE_OVERRIDES_H |
| 17 | #define __ASM_MACH_LEMOTE_CPU_FEATURE_OVERRIDES_H | 17 | #define __ASM_MACH_LOONGSON_CPU_FEATURE_OVERRIDES_H |
| 18 | 18 | ||
| 19 | #define cpu_dcache_line_size() 32 | 19 | #define cpu_dcache_line_size() 32 |
| 20 | #define cpu_icache_line_size() 32 | 20 | #define cpu_icache_line_size() 32 |
| @@ -56,4 +56,4 @@ | |||
| 56 | #define cpu_has_watch 1 | 56 | #define cpu_has_watch 1 |
| 57 | #define cpu_icache_snoops_remote_store 1 | 57 | #define cpu_icache_snoops_remote_store 1 |
| 58 | 58 | ||
| 59 | #endif /* __ASM_MACH_LEMOTE_CPU_FEATURE_OVERRIDES_H */ | 59 | #endif /* __ASM_MACH_LOONGSON_CPU_FEATURE_OVERRIDES_H */ |
diff --git a/arch/mips/include/asm/mach-lemote/dma-coherence.h b/arch/mips/include/asm/mach-loongson/dma-coherence.h index c8de5e750777..71a6851ba833 100644 --- a/arch/mips/include/asm/mach-lemote/dma-coherence.h +++ b/arch/mips/include/asm/mach-loongson/dma-coherence.h | |||
| @@ -8,8 +8,8 @@ | |||
| 8 | * Author: Fuxin Zhang, zhangfx@lemote.com | 8 | * Author: Fuxin Zhang, zhangfx@lemote.com |
| 9 | * | 9 | * |
| 10 | */ | 10 | */ |
| 11 | #ifndef __ASM_MACH_LEMOTE_DMA_COHERENCE_H | 11 | #ifndef __ASM_MACH_LOONGSON_DMA_COHERENCE_H |
| 12 | #define __ASM_MACH_LEMOTE_DMA_COHERENCE_H | 12 | #define __ASM_MACH_LOONGSON_DMA_COHERENCE_H |
| 13 | 13 | ||
| 14 | struct device; | 14 | struct device; |
| 15 | 15 | ||
| @@ -65,4 +65,4 @@ static inline int plat_device_is_coherent(struct device *dev) | |||
| 65 | return 0; | 65 | return 0; |
| 66 | } | 66 | } |
| 67 | 67 | ||
| 68 | #endif /* __ASM_MACH_LEMOTE_DMA_COHERENCE_H */ | 68 | #endif /* __ASM_MACH_LOONGSON_DMA_COHERENCE_H */ |
diff --git a/arch/mips/include/asm/mach-lemote/loongson.h b/arch/mips/include/asm/mach-loongson/loongson.h index 95ee4c8f2d56..e9f74dee24ef 100644 --- a/arch/mips/include/asm/mach-lemote/loongson.h +++ b/arch/mips/include/asm/mach-loongson/loongson.h | |||
| @@ -21,9 +21,6 @@ | |||
| 21 | /* loongson internal northbridge initialization */ | 21 | /* loongson internal northbridge initialization */ |
| 22 | extern void bonito_irq_init(void); | 22 | extern void bonito_irq_init(void); |
| 23 | 23 | ||
| 24 | /* loongson-based machines specific reboot setup */ | ||
| 25 | extern void mips_reboot_setup(void); | ||
| 26 | |||
| 27 | /* environment arguments from bootloader */ | 24 | /* environment arguments from bootloader */ |
| 28 | extern unsigned long bus_clock, cpu_clock_freq; | 25 | extern unsigned long bus_clock, cpu_clock_freq; |
| 29 | extern unsigned long memsize, highmemsize; | 26 | extern unsigned long memsize, highmemsize; |
diff --git a/arch/mips/include/asm/mach-lemote/mc146818rtc.h b/arch/mips/include/asm/mach-loongson/mc146818rtc.h index ed5147e11085..ed7fe978335a 100644 --- a/arch/mips/include/asm/mach-lemote/mc146818rtc.h +++ b/arch/mips/include/asm/mach-loongson/mc146818rtc.h | |||
| @@ -7,8 +7,8 @@ | |||
| 7 | * | 7 | * |
| 8 | * RTC routines for PC style attached Dallas chip. | 8 | * RTC routines for PC style attached Dallas chip. |
| 9 | */ | 9 | */ |
| 10 | #ifndef __ASM_MACH_LEMOTE_MC146818RTC_H | 10 | #ifndef __ASM_MACH_LOONGSON_MC146818RTC_H |
| 11 | #define __ASM_MACH_LEMOTE_MC146818RTC_H | 11 | #define __ASM_MACH_LOONGSON_MC146818RTC_H |
| 12 | 12 | ||
| 13 | #include <linux/io.h> | 13 | #include <linux/io.h> |
| 14 | 14 | ||
| @@ -33,4 +33,4 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr) | |||
| 33 | #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1970) | 33 | #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1970) |
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | #endif /* __ASM_MACH_LEMOTE_MC146818RTC_H */ | 36 | #endif /* __ASM_MACH_LOONGSON_MC146818RTC_H */ |
diff --git a/arch/mips/include/asm/mach-lemote/pci.h b/arch/mips/include/asm/mach-loongson/pci.h index 3e6b1300afb6..e229b2904cc9 100644 --- a/arch/mips/include/asm/mach-lemote/pci.h +++ b/arch/mips/include/asm/mach-loongson/pci.h | |||
| @@ -19,8 +19,8 @@ | |||
| 19 | * 02139, USA. | 19 | * 02139, USA. |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #ifndef __ASM_MACH_LEMOTE_PCI_H_ | 22 | #ifndef __ASM_MACH_LOONGSON_PCI_H_ |
| 23 | #define __ASM_MACH_LEMOTE_PCI_H_ | 23 | #define __ASM_MACH_LOONGSON_PCI_H_ |
| 24 | 24 | ||
