aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/lemote
AgeCommit message (Collapse)AuthorFilesLines
2009-09-17MIPS: Loongson: Change naming methodsWu Zhangjin12-573/+0
To make source code of loongson sharable to the machines(such as gdium) made by the other companies, we rename arch/mips/lemote to arch/mips/loongson, asm/mach-lemote to asm/mach-loongson, and rename lm2e to the name of the machine: fuloong-2e. accordingly, FULONG are renamed to FULOONG2E to make it distinguishable to the future FULOONG2F. and also, some other relative tuning is needed. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: Add oprofile supportWu Zhangjin1-0/+2
This kernel support is needed by the user-space tool:oprofile to profile linux kernel or applications via loongson2 performance counters. you can enable this driver via CONFIG_OPROFILE = y or m. On Loongson2 there are two performance counters, each one can count 16 events respectively. when anyone of the performance counter overflows, an interrupt will be generated and is routed to the IRQ MIPS_CPU_IRQ_BASE + 6. Signed-off-by: Yanhua <[email protected]> Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: PCI: Clean up pcimap setupWu Zhangjin1-15/+26
Fixup the wrong original comment of pcimap, and make the source code more understandable. and also, some new extra consideration is added in. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: clean up the coding styleWu Zhangjin11-173/+21
With the help of script/checkpatch.pl, i have cleaned up the coding style. 1. remove un-needed header files and tune some comments. 2. remove some un-needed { } add a new header file loongson.h: 3. move some common header files to loongson.h 4. move some common extern declartions to loongson.h and this new header file is needed for future loongson2f support. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: Split the implementation of prom and setup partsWu Zhangjin8-85/+168
This patch split the old initilization and setup implementation to several file, one file one logic function. the other main changes include: 1. as the script/checkpatch.pl suggests, use strict_strtol instead of simple_strtol in arch/mips/lemote/lm2e/cmdline.c 2. use the existed macros in asm/mips-boards/bonito64.h as the arguments of set_io_port_base() and remove the un-needed ones in asm/mach-lemote/pci.h Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: PCI: use existing mips_io_port_baseWu Zhangjin1-4/+1
mips_io_port_base is initialized via set_io_port_base() in arch/mips/lemote/lm2e/setup.c, we can use it directly here. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: pm: clean up the reboot supportWu Zhangjin1-8/+10
Several magic numbers have been replaced by relative macros, which will be more readable and understandable. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: pm: Remove redundant source codeWu Zhangjin1-6/+1
The implmentation of loongson2e_power_off and loongson2e_halt is almostly the same, just preserve one of them. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: Add new early_printk implmentationWu Zhangjin2-0/+46
This patch is based on the implementation in the lm2e-fixes branch of Philippe's git://git.linux-cisco.org/linux-mips.git and the malta-specific early_printk implementation. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: Remove out-of-date board-specific kgdb source codeWu Zhangjin2-147/+1
Since the re-implementation of kgdb by commit 8854700115ecf8aa6f087aa915b7b6cf18090d39 the platform-specific version has become superfluous, remove it. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Loongson: Remove existing early_printk implementationWu Zhangjin1-6/+0
Removes the existing implementation of early_printk for fulong. The old implementation was based on the outdated board-specific dbg_io.c. Since commit 8d60a903d986ffa26c41f0092320a3b9da20bfaf dbg_io.c is not longer needed; it will be removed by the next patch, and a new implementation of early_printk will be added later. Signed-off-by: Wu Zhangjin <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2009-09-17MIPS: Fulong: Convert reset initialization to initcall.Ralf Baechle2-4/+6
Signed-off-by: Ralf Baechle <[email protected]>
2009-03-30cpumask: remove references to struct irqaction's mask field.Rusty Russell1-1/+0
Impact: cleanup It's unused, since about 1995. So remove all initialization of it in preparation for actually removing the field. Signed-off-by: Rusty Russell <[email protected]> Acked-by: Thomas Gleixner <[email protected]>
2008-10-27MIPS: lemote/lm2e: Added io_map_base to pci controllerZhang Le2-11/+13
Signed-off-by: Zhang Le <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2008-01-29[MIPS] Fulong: don't reinitialize pci_probe_only to it's default value.Ralf Baechle1-3/+0
Signed-off-by: Ralf Baechle <[email protected]>
2008-01-29[MIPS] remove unused mips_machtypeYoichi Yuasa1-2/+0
Removed unused mips_machtype. These are only set but not used. Signed-off-by: Yoichi Yuasa <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2007-10-19[MIPS] Kill duplicated setup_irq() for cp0 timerAtsushi Nemoto1-5/+0
Also many plat_timer_setup() can be killed too. Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2007-10-11[MIPS] Deforest the function pointer jungle in the time code.Ralf Baechle1-5/+2
Hard to follow who is pointing what to where and why so it's simply getting in the way of the time code renovation. Signed-off-by: Ralf Baechle <[email protected]>
2007-10-11[MIPS] ARC: Get rid of mips_machgroupRalf Baechle1-1/+0
This has not been any serious user of this ill conceived thing since the original invention in like '95. Signed-off-by: Ralf Baechle <[email protected]>
2007-10-11[MIPS] Kill redundant EXTRA_AFLAGSAtsushi Nemoto1-1/+0
Kill redundant EXTRA_AFLAGS added after the commit d2af363cfb94f1bacb3e60327bc44a97881a38c2. Signed-off-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2007-07-31[MIPS] Fulong: Remove unneeded header fileSongmao Tian2-14/+0
Signed-off-by: Songmao Tian <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2007-07-31[MIPS] remove some duplicate includesJesper Juhl1-1/+0
This patch removes some duplicate includes from arch/mips/ Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
2007-07-31[MIPS] Use -Werror on subdirectories which build cleanly.Ralf Baechle1-1/+2
Signed-off-by: Ralf Baechle <[email protected]>
2007-07-31[MIPS] Fix build breakage due to duplicate cpu_clock definitionRalf Baechle2-5/+5
commit e436d80085133858bf2613a630365e8a0459fd58 Author: Ingo Molnar <[email protected]> Date: Thu Jul 19 21:28:35 2007 +0200 [PATCH] sched: implement cpu_clock(cpu) high-speed time source broke the build of several MIPS platforms which were already using the symbol cpu_clock for the own purposes. Signed-off-by: Ralf Baechle <[email protected]>
2007-07-10[MIPS] New files for lemote fulong mini-PC supportSongmao Tian9-0/+767
Signed-off-by: Fuxin Zhang <[email protected]> Signed-off-by: Songmao Tian <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>