History log of /arch/mips/Makefile
Revision Date Author Comments
1c7c44519a12d79af1f599a8cc4997e1230025ed 16-Nov-2011 Kevin Cernekee <cernekee@gmail.com> MIPS: BMIPS: Add CFLAGS, Makefile entries for BMIPS

Add CONFIG_CPU_BMIPS* in all of the right places, so that BMIPS kernel
images will compile and run.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2955/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
44656fa03926e7363ab41c565619800a4b3b1322 08-Nov-2011 David Daney <david.daney@cavium.com> kbuild: Fix missing system calls check on mips.

Commit 5f7efb4 (Kbuild: append missing-syscalls to the default target
list) broke MIPS build.

Reported-tested-and-acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
08fa624f504e5edab6f69014fc92ecc7b2bbd81e 20-Oct-2011 Aaro Koskinen <aaro.koskinen@iki.fi> MIPS: Fix build with C=1

When trying to compile the 3.1-rc10 kernel for my MIPS board with C=1
(sparse checking), the build fails early with the error:

CHK include/linux/version.h
UPD include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Checking missing-syscalls for N32
CALL scripts/checksyscalls.sh
Checking missing-syscalls for O32
CALL scripts/checksyscalls.sh
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/mips/kernel/asm-offsets.s
GEN include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
HOSTCC scripts/genksyms/genksyms.o
SHIPPED scripts/genksyms/lex.lex.c
SHIPPED scripts/genksyms/keywords.hash.c
SHIPPED scripts/genksyms/parse.tab.h
HOSTCC scripts/genksyms/lex.lex.o
SHIPPED scripts/genksyms/parse.tab.c
HOSTCC scripts/genksyms/parse.tab.o
HOSTLD scripts/genksyms/genksyms
/bin/sh: Syntax error: "(" unexpected
make[3]: *** [scripts/mod/empty.o] Error 2
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2

It seems the shell chokes because sparse is called with command line
arguments such as:

-D__INT8_C(c)='c'

Converting these to form:

-D'__INT8_C(c)'='c'

seems to fix the problem.

[ralf@linux-mips.org: This affects builds with gcc 4.5 and newer.]

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/2827/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
d9beeecae674b62250ca68b93042d3a31551bad6 21-Jun-2011 Ralf Baechle <ralf@linux-mips.org> MIPS: Don't install vmlinuz if compressed kernel has not been configured.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
bf45e583715eae15e0adecb6f55d97878e127d7d 30-May-2011 Ralf Baechle <ralf@linux-mips.org> MIPS: XLR, XLS: Move makefile bits to were they belong.

This patch combines linux-mips.org patches
637d69600fb1773da56487271ec2a79c33d237ed [MIPS: Netlogic: Yank out crap.]
and 5e3c263b9658a4b1c6c5577793e9347efb44854e [MIPS: XLR, XLS: Add Kbuild
files for platform.]

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2415/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
7f058e852b229ec77b37676b2b78baf2e78ffee8 06-May-2011 Jayachandran C <jayachandranc@netlogicmicro.com> MIPS: Kconfig and Makefile update for Netlogic XLR/XLS

Add NLM_XLR_BOARD, CPU_XLR and other config options
Makefile updates, mostly based on r4k

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2334/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
25985edcedea6396277003854657b5f3cb31a628 31-Mar-2011 Lucas De Marchi <lucas.demarchi@profusion.mobi> Fix common misspellings

Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
e3726304a242e94a87d7b5427d88427acead7c02 14-Jan-2011 matt mooney <mfm@muteddisk.com> mips: change to new flag variable

Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
c9941158fd8a539a56b0e8a4740ec1f6beb23ea3 08-Oct-2010 David Daney <ddaney@caviumnetworks.com> MIPS: Octeon: Apply CN63XXP1 errata workarounds.

The CN63XXP1 needs a couple of workarounds to ensure memory is not written
in unexpected ways.

All PREF with hints in the range 0-4,6-24 are replaced with PREF 28. We
pass a flag to the assembler to cover compiler generated code, and patch
uasm for the dynamically generated code.

The write buffer threshold is reduced to 4.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1672/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
7837314d141c661c70bc13c5050694413ecfe14a 29-Oct-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Get rid of branches to .subsections.

It was a nice optimization - on paper at least. In practice it results in
branches that may exceed the maximum legal range for a branch. We can
fight that problem with -ffunction-sections but -ffunction-sections again
is incompatible with -pg used by the function tracer.

By rewriting the loop around all simple LL/SC blocks to C we reduce the
amount of inline assembler and at the same time allow GCC to often fill
the branch delay slots with something sensible or whatever else clever
optimization it may have up in its sleeve.

With this optimization gone we also no longer need -ffunction-sections,
so drop it.

This optimization was originally introduced in 2.6.21, commit
5999eca25c1fd4b9b9aca7833b04d10fe4bc877d (linux-mips.org) rsp.
f65e4fa8e0c6022ad58dc88d1b11b12589ed7f9f (kernel.org).

Original fix for the issues which caused me to pull this optimization by
Paul Gortmaker <paul.gortmaker@windriver.com>.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c1bf207d6ee1eb72e9c10365edbdc7c9ff7fb9b0 03-Aug-2010 David Daney <ddaney@caviumnetworks.com> MIPS: kprobe: Add support.

This patch is based on previous work by Sony and Himanshu Chauhan.

I have done some cleanup and implemented JProbes and KRETPROBES. The
KRETPROBES part is pretty much copied verbatim from powerpc. A possible
future enhance might be to factor out the common code.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: Himanshu Chauhan <hschauhan@nulltrace.org>
To: linux-mips@linux-mips.org
To: ananth@in.ibm.com,
To: anil.s.keshavamurthy@intel.com
To: davem@davemloft.net
To: masami.hiramatsu.pt@hitachi.com
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1525/
Patchwork: https://patchwork.linux-mips.org/patch/1530/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
d745866e4d8c0675bab90868b5e4a8fcd053eff2 30-May-2010 Sam Ravnborg <sam@ravnborg.org> MIPS: Clean up arch/mips/Makefile

- Drop CLEAN_FILES assignments that is no longer required
- Add $(Q) in a few rules

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
To: linux-mips <linux-mips@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1305/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
35eaa1e9c9b4579100320814aeebff167ee59b0a 30-May-2010 Sam Ravnborg <sam@ravnborg.org> MIPS: Refactor arch/mips/boot/compressed/Makefile

- use hostprogs-y for the elf2ecoff
- list all *.o file in targets
- renamed obj-y to vmlinuzobjs-y (it was confusing to re-use a kbuild variable)
- fix all uses of if_changed/cmd
- use kbuild rules to beautify output
- update clean-file to clean vmlinuz.* in top-level directory

- simplied logic in arch/mips/Makefile for compressed targets

The net result is a more kbuild conformant Makefile but
readability did not increase.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
To: linux-mips <linux-mips@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1304/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
961e196c7a3b3c3d1d9eb32629b0e745ce0a68d1 30-May-2010 Sam Ravnborg <sam@ravnborg.org> MIPS: Refactor arch/mips/boot/Makefile

- remove stuff that is not needed
VMLINUX assignment, all: rule
- use hostprogs-y for the host program
- use kbuild rules for the three targets - to beautify output
- drop clean-files - it is no longer needed
- simplify arch/mips/Makefile when calling targets in boot/Makefile

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
To: linux-mips <linux-mips@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1303/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
ad5f2635578a19ff8885bff1ef4d5adf7193cb02 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: PNX8550: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
91a548d57e9c95bb47b66d9d3ac0bf381619a6e7 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: PNX833x: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9453e84d1765d2a532c2ba26ab2a5c3c9b8867c4 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: STB8550: Move boards over to obj-y

Preparatory cleanup for moving Alchemy over to new MIPS Platform build
system support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
98e9aee33797c6319425aa729d828e9fe304774c 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: STB22x: Move boards over to obj-y

Preparatory cleanup for moving Alchemy over to new MIPS Platform build
system support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
79d7cd31f9a3d3e75ae67f742aa5eb199cfa71cf 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: PNX8550: Move code one directory level up.

It was sharing the nxp directory but no code with pnx833x and will fit
better into the new platform makefile scheme, if moved. Also after the
pnx833x code has been moved up, the pnx8550 Code was the last users of
the nxp dir.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
86c6d4d0acc64543a485c11e197d0bd2c5ae0bb2 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: PNX833x: Move code one directory level up.

It was sharing the nxp directory but no code with pnx8550 and will fit
better into the new platform makefile scheme, if moved.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2f22f456933c1db57d84627a046dd20e935ad51a 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: EMMA: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
a8b361d97f8e5a496a6144c470be03595247ad9f 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: TXx9: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
34f5c1c5787bd13a3fbfc284ff7f719846427b9d 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Sibyte: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f6e1db1b87a9199275694d10713d4baa80030fc7 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Octeon: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f5e8abd6f1fdba3abf6675700069005e25531208 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: BCM63xx: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
53e4345906703785d6d02bd1b418abe2e8c9ebc1 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: BCM47xx: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
bd152b095ef67898ed794f100e4ecc5298a61ad8 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Lasat: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
026dab3c51d3d6129cf66f24bc592e9315856fdb 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: PowerTV: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f70a974dd04619575723331a4f767254b76e3c8e 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: WRPPMC: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9ebc2935f346964c34e5f376263c4071f66edcd9 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: WRPPMC: Move code one directory level up.

It was the last platform under gt64120 and will fit better into the new
platform makefile scheme, if moved.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
91598965ecb508dc7bc154ec9d3e35dcadb3fa5f 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: RB532: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
4fa8a557c301b14a53dcd654aa0c2988c71cbd4d 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: IP32: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
36bb97e97176e57d88db93593720531f51ea75b6 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Malta: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
b9dbdce11b0c961d5cf22488ee059f2f9d930431 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: IP22, IP28: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
655f40e4870a46551a4510695765913d2c0518ce 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: SNI: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c136af0906ba714b67bdc8623a0f82ddd7a7ba21 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: DECstation: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1505b60757694512b76edce8ecc6f73b4a8a7f9f 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Jazz: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
82baa6b0829b810329dd72a31cd5721cba05488a 03-Jun-2010 Shane McDonald <mcdonald.shane@gmail.com> MIPS: PMC-Sierra: Move board Makefile parts to their own Platform file

Signed-off-by: Shane McDonald <mcdonald.shane@gmail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1354/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
4300a92e9b3794caee33a8f3985ad883db1b4650 02-Jun-2010 Yoichi Yuasa <yuasa@linux-mips.org> MIPS: Move VR41xx Makefile parts to their own Platform file

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1322/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
5c6aecbda882b62c84abf72cf056e39e215feac3 02-Jun-2010 Yoichi Yuasa <yuasa@linux-mips.org> MIPS: Move Cobalt Makefile parts to their own Platform file

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1321/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
6a0cd4dca00110fd11b8b07b7c2e08a60d22c580 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: IP27: Migrate to new Platform file

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
baf3eb233df301081b66637a257ce0e9f6f84706 01-Jun-2010 Manuel Lauss <manuel.lauss@googlemail.com> MIPS: Move Alchemy Makefile parts to their own Platform file.

[Ralf: Remove a forgotten -Werror in Pb1200 Makefile.]

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Manuel Lauss <manuel.lauss@googlemail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1319/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
4767d7ddbb904ac481bcf1340eae7758d124db96 01-Jun-2010 Manuel Lauss <manuel.lauss@googlemail.com> MIPS: Alchemy: move boards over to obj-y

Preparatory step for moving Alchemy over to new MIPS Platform
build system support.

Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/1318/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
526a2fe2f5d887ef8b89243c3a5e64f0f38c21cc 05-Aug-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: MIPSsim: Migrate to new Platform file

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
28c945c88676bf71ec649429f2c1c4ce3719cd7c 01-Jun-2010 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson: Migrate makefile to new Platform file

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
To: linux-mips <linux-mips@linux-mips.org>
Cc: Alexander Clouter <alex@digriz.org.uk>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>,
Patchwork: https://patchwork.linux-mips.org/patch/1313/
Patchwork: https://patchwork.linux-mips.org/patch/1326/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
5d25b01cf90c1a27d196a52f48d5364458b80b86 30-May-2010 Sam Ravnborg <sam@ravnborg.org> MIPS: Introduce support for Platform definitions

Move platform specific definitions to the platfrom directories.

Each platform shall do the following:
1) include an entry in arch/mips/Kbuild.platforms
2) add relevant definitions to arch/mips/<platform>/Platform

This commits changes ar7 to the new scheme as an example.

Introducing a platform speecific Platfrom file has following advantages:
1) decentralization of platfrom definitions
2) simplification af arch/mips/Makefile
3) force all platfrom to build with -Werror (done in arch/mips/Kbuild)

[Ralf: Remove forgotten -Werror from AR7 Makefile]

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
To: linux-mips <linux-mips@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1302/
Patchwork: http://patchwork.linux-mips.org/patch/1308/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9aeb404b4cfed41fdfd01e6fb3cc995c327ba98e 30-May-2010 Sam Ravnborg <sam@ravnborg.org> MIPS: Introduce arch/mips/Kbuild

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
To: linux-mips <linux-mips@linux-mips.org>
To: Wu Zhangjin <wuzhangjin@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/1300/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
6588169d516560f68672e2928680b71c647b7806 28-Jul-2010 Sam Ravnborg <sam@ravnborg.org> kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line

It is now possible to assign options to AS, CC and LD
on the command line - which is only used when building modules.

{A,C,LD}FLAGS_MODULE was all used both in the top-level Makefile
in the arch makefiles, thus users had no way to specify
additional options to AS, CC, LD when building modules
without overriding the original value.

Introduce a new set of variables KBUILD_{A,C,LD}FLAGS_MODULE
that is used by arch specific files and free up
{A,C,LD}FLAGS_MODULE so they can be assigned on
the command line.

All arch Makefiles that used the old variables has been updated.

Note: Previously we had a MODFLAGS variable for both
AS and CC. But in favour of consistency this was dropped.
So in some cases arch Makefile has one assignmnet replaced by
two assignmnets.

Note2: MODFLAGS was not documented and is dropped
without any notice. I do not expect much/any breakage
from this.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Denys Vlasenko <vda.linux@googlemail.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Chen Liqin <liqin.chen@sunplusct.com>
Acked-by: Mike Frysinger <vapier@gentoo.org> [blackfin]
Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com> [avr32]
Signed-off-by: Michal Marek <mmarek@suse.cz>
8bbda428e90a2b638428fbb07abd80b9cb624a27 10-Apr-2010 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson 2F: Enable fixups of the latest binutils

With the "Fixups of Loongson2F" patch [1] having been applied to binutils
for binutils 2.20.1 we now can use it's time to enable the options provided
by the patch to compile the kernel.

Without these fixups, the system may hang if the erratum is triggered.

For more information on these fixups please refer to the following
references.

[1] "Fixups of Loongson2F" patch for binutils(actually for gas)
http://sourceware.org/ml/binutils/2009-11/msg00387.html
[2] Chapter 15 of "Loongson2F User Manual"(Chinese Version)
http://www.loongson.cn/uploadfile/file/200808211
[3] Chapter 15 of the English version Loongson 2F User Manual
http://groups.google.com.hk/group/loongson-dev/msg/e0d2e220958f10a6?dmode=source

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Zhang Le <r0bertz@gentoo.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/1106/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1ae86a67326741b35339c548838f16cceaa77222 04-Jan-2010 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson: arch/mips/Makefile: Add missing whitespace

This patch add missing whitespace after every "+=" in the loongson
related part of arch/mips/Makefile.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: zhangfx@lemote.com
Patchwork: http://patchwork.linux-mips.org/patch/827/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
ebc89718a4b3fa0e440151fb4484541700828a5d 26-Feb-2010 Ralf Baechle <ralf@linux-mips.org> MIPS: Fix build error for uncompressed non-plain vmlinux kernels

Seen on rm200_defconfig for example:

CC arch/mips/boot/compressed/decompress.o
/home/ralf/src/linux/upstream-linus/arch/mips/boot/compressed/decompress.c: In function ‘decompress_kernel’:
/home/ralf/src/linux/upstream-linus/arch/mips/boot/compressed/decompress.c:116: error: implicit declaration of function ‘decompress’
make[3]: *** [arch/mips/boot/compressed/decompress.o] Error 1
make[2]: *** [vmlinuz.ecoff] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
de4148f3ef54b644a181ad75a6fb4b373f2b01f0 17-Dec-2009 Ralf Baechle <ralf@linux-mips.org> MIPS: eXcite: Remove platform.

The platform has never been fully merged

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Thomas Koeller <thomas.koeller@baslerweb.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mtd@lists.infradead.org
Acked-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
7326c4e567b50e689d13c04d58aeffa515277ebb 20-Nov-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Tracing: Make function graph tracer work with -mmcount-ra-address

That thread "MIPS: Add option to pass return address location to
_mcount" from "David Daney <ddaney@caviumnetworks.com>" have added a new
option -mmcount-ra-address to gcc(4.5) for MIPS to transfer the location
of the return address to _mcount.

Benefit from this new feature, function graph tracer on MIPS will be
easier and safer to hijack the return address of the kernel function,
which will save some overhead and make the whole thing more reliable.

In this patch, at first, try to enable the option -mmcount-ra-address in
arch/mips/Makefile with cc-option, if gcc support it, it will be
enabled, otherwise, no side effect.

and then, we need to support this new option of gcc 4.5 and also support
the old gcc versions.

with _mcount in the old gcc versions, it's not easy to get the location
of return address(tracing: add function graph tracer support for MIPS),
so, we do it in a C function: ftrace_get_parent_addr(ftrace.c), but
with -mmcount-ra-address, only several instructions need to get what
we want, so, I put into asm(mcount.S). and also, as the $12(t0) is
used by -mmcount-ra-address for transferring the localtion of return
address to _mcount, we need to save it into the stack and restore it
when enabled dynamic function tracer, 'Cause we have called
"ftrace_call" before "ftrace_graph_caller", which may destroy
$12(t0).

(Thanks to David for providing that -mcount-ra-address and giving the
idea of KBUILD_MCOUNT_RA_ADDRESS, both of them have made the whole
thing more beautiful!)

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
Cc: zhangfx@lemote.com
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/681/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
d2bb0762993e11363d8343127516b8fe88f9006f 20-Nov-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Tracing: Add static function tracer support for MIPS

If -pg of gcc is enabled with CONFIG_FUNCTION_TRACER=y. a calling to
_mcount will be inserted into each kernel function. so, there is a
possibility to trace the kernel functions in _mcount.

This patch add the MIPS specific _mcount support for static function
tracing. by default, ftrace_trace_function is initialized as
ftrace_stub(an empty function), so, the default _mcount will introduce
very little overhead. after enabling ftrace in user-space, it will jump
to a real tracing function and do static function tracing for us.

and -ffunction-sections is incompatible with -pg, so, disable it when
ftracer is enabled.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Nicholas Mc Guire <der.herr@hofr.at>
Cc: zhangfx@lemote.com
Cc: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/672/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
a3a0f8c8ed2e2470f4dcd6da95020d41fed84747 31-Aug-2009 David VomLehn <dvomlehn@cisco.com> MIPS: PowerTV: Base files for Cisco PowerTV platform

Add the Cisco Powertv cable settop box to the MIPS tree. This platform is
based on a MIPS 24Kc processor with various devices integrated on the same
ASIC. There are multiple models of this box, with differing configuration
but the same kernel runs across the product line.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/132/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
7d32c6dd816bb0c595aef62294b714a9b8a0f864 09-Nov-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Lemote 2F: Add a LEMOTE_MACH2F kernel option

Add a new kernel option for Lemote Loongson 2F family machines.

Lemote loongson2f family machines utilize the 2f revision of loongson
processor and the AMD CS5536 south bridge.

Family members include Fuloong 2F mini PC, Yeeloong 2F notebook, LingLoong
all-in-one PC and others.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: zhangfx@lemote.com
Cc: yanh@lemote.com
Cc: huhb@lemote.com
Cc: Nicholas Mc Guire <hofrat@hofr.at>
Cc: Arnaud Patard <apatard@mandriva.com>
Cc: loongson-dev@googlegroups.com
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
6f7a251a259e5bf58a9ff334bdcfa3e42b6cb7a3 06-Nov-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson: Add basic Loongson 2F support

Loongson 2F has built-in DDR2 and PCI-X controller. The PCI-X controller
has a programming interface similiar to the the FPGA northbridge used on
Loongson 2E.

The main differences between Loongson 2E and Loongson 2F include:

1. Loongson 2F has an extra address window configuration module, which
is used to map CPU address space to DDR or PCI address space, or map
the PCI-DMA address space to DDR or LIO address space.

2. Loongson 2F supports 8 levels of software configurable CPu frequency
which can be configured in the LOONGSON_CHIPCFG0 register. The coming
cpufreq and standby support are based on this feature.

Loongson.h abstracts the modules and corresponding methods are abstracted.

Add other Loongson-2F-specific source code including gcc 4.4 support, PCI
memory space, PCI IO space, DMA address.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Cc: linux-mips@linux-mips.org
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1b93b3c3e94be2605759735a89fc935ba5f58dcf 14-Oct-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Add support for GZIP / BZIP2 / LZMA compressed kernel images

This patch helps to generate smaller kernel images for linux-MIPS,

Here is the effect when using lzma:

$ ls -sh vmlinux
7.1M vmlinux
$ ls -sh vmlinuz
1.5M vmlinuz

Have tested the 32bit kernel on Qemu/Malta and 64bit kernel on FuLoong
Mini PC. both of them work well. and also, tested by Alexander Clouter
on an AR7 based Linksys WAG54Gv2, and by Manuel Lauss on an Alchemy
board.

This -v2 version incorporate the feedback from Ralf, and add the
following changes:

1. add .ecoff, .bin, .erec format support
2. only enable it and the debug source code for the machines we tested
3. a dozen of fixups and cleanups

and if you want to enable it for your board, please try to select
SYS_SUPPORTS_ZBOOT for it, and if the board have an 16550 compatible
uart, you can select SYS_SUPPORTS_ZBOOT_UART16550 directly. and then
sending the relative patches to Ralf.

Tested-by: Manuel Lauss <manuel.lauss@googlemail.com>
Tested-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
51b563fc93c8cb5bff1d67a0a71c374e4a4ea049 20-Sep-2009 Sam Ravnborg <sam@ravnborg.org> arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0

Albin Tonnerre <albin.tonnerre@free-electrons.com> reported:

Bash 4 filters out variables which contain a dot in them.
This happends to be the case of CPPFLAGS_vmlinux.lds.
This is rather unfortunate, as it now causes
build failures when using SHELL=/bin/bash to compile,
or when bash happens to be used by make (eg when it's /bin/sh)

Remove the common definition of CPPFLAGS_vmlinux.lds by
pushing relevant stuff to either Makefile.build or the
arch specific kernel/Makefile where we build the linker script.

This is also nice cleanup as we move the information out where
it is used.

Notes for the different architectures touched:

arm - we use an already exported symbol
cris - we use a config symbol aleady available
[Not build tested]
mips - the jiffies complexity has moved to vmlinux.lds.S where we need it.
Added a few variables to CPPFLAGS - they are only used by
the linker script.
[Not build tested]
powerpc - removed assignment that is not needed
[not build tested]
sparc - simplified it using $(BITS)
um - introduced a few new exported variables to deal with this
xtensa - added options to CPP invocation
[not build tested]

Cc: Albin Tonnerre <albin.tonnerre@free-electrons.com>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Jesper Nilsson <jesper.nilsson@axis.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Chris Zankel <chris@zankel.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
e7300d04bd0809eb7ea10a2ed8c729459f816e36 18-Aug-2009 Maxime Bizon <mbizon@freebox.fr> MIPS: BCM63xx: Add support for the Broadcom BCM63xx family of SOCs.

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
3702bba5eb4f7a0c89107089af6fd9bc2966b65a 02-Jul-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson: Add GCC 4.4 support for Loongson2E

Because only gcc >=4.4 have loongson-specific support, we need to choose
the suitable -march argument for gcc <= 4.3 and gcc >= 4.4, and here, we
use -march=loongson2e for loongson2e.

Thanks goes to Arnaud Patard <apatard@mandriva.com> for suggestion of
using cc-options(Documentation/kbuild/makefiles.txt). and thanks Zhang
Le for introducing the new CPU_LOONGSON2E kernel option.

NOTE: -mtune option is not need if -march and -mtune use the same value.

Signed-off-by: Zhang Le <r0bertz@gentoo.org>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
85749d24bcf90440b10394312e5b1c96d1a62cdb 02-Jul-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson: Split common loongson source code out

To share common loongson source code between all of the loongson-based
machines. there is a need to split it out of the fuloong-2e/ directory.
at the same time, other according tuning is needed. the machine-specific
parts are defined as macros in relative header file, pci.h, mem.h,
machine.h.

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
8e4971175acc910eb4258df82a6bd8f2c4e4e5b5 02-Jul-2009 Wu Zhangjin <wuzhangjin@gmail.com> MIPS: Loongson: Change naming methods

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 <wuzhangjin@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
7ca5dc145bc7daddd8aed8bbda46b74af9cebefc 24-Jun-2009 Florian Fainelli <florian@openwrt.org> MIPS: Add support for Texas Instruments AR7 System-on-a-Chip

This patch adds support for the Texas Instruments AR7 System-on-a-Chip.
It supports the TNETD7100, 7200 and 7300 versions of the SoC.

Signed-off-by: Matteo Croce <matteo@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Eugene Konev <ejka@openwrt.org>
Signed-off-by: Nicolas Thill <nico@openwrt.org>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
363c55cae53742f3f685a1814912c6d4fda245b4 04-Jun-2009 Wu Zhangjin <wuzj@lemote.com> MIPS: Add hibernation support

[Ralf: SMP support requires CPU hotplugging which MIPS currently doesn't
support. As implemented in this patch cache and tlb flushing will also be
invoked with interrupts disabled so smp_call_function() will blow up in
charming ways. So limit to !SMP.]

Reviewed-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Yan Hua <yanh@lemote.com>
Reviewed-by: Arnaud Patard <apatard@mandriva.com>
Reviewed-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Wu Zhangjin <wuzj@lemote.com>
Signed-off-by: Hu Hongbing <huhb@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
51e02b02e650183ff1277bcbad6a01d6ea0e9edb 06-Jun-2009 Manuel Lauss <manuel.lauss@googlemail.com> MIPS: Alchemy: Rewrite GPIO support.

The current in-kernel Alchemy GPIO support is far too inflexible for
all my use cases. To address this, the following changes are made:

* create generic functions which deal with manipulating the on-chip
GPIO1/2 blocks. Such functions are universally useful.
* Macros for GPIO2 shared interrupt management and block control.
* support for both built-in CONFIG_GPIOLIB and fast, inlined GPIO macros.

If CONFIG_GPIOLIB is not enabled, provide linux gpio framework
compatibility by directly inlining the GPIO1/2 functions. GPIO access
is limited to on-chip ones and they can be accessed as documented in
the datasheets (GPIO0-31 and 200-215).

If CONFIG_GPIOLIB is selected, two (2) gpio_chip-s, one for GPIO1 and
one for GPIO2, are registered. GPIOs can still be accessed by using
the numberspace established in the databooks.

However this is not yet flexible enough for my uses: My Alchemy
systems have a documented "external" gpio interface (fixed, different
numberspace) and can support a variety of baseboards, some of which
are equipped with I2C gpio expanders. I want to be able to provide
the default 16 GPIOs of the CPU board numbered as 0..15 and also
support gpio expanders, if present, starting as gpio16.

To achieve this, a new Kconfig symbol for Alchemy is introduced,
CONFIG_ALCHEMY_GPIO_INDIRECT, which boards can enable to signal
that they don't want the Alchemy numberspace exposed to the outside
world, but instead want to provide their own. Boards are now respon-
sible for providing the linux gpio interface glue code (either in a
custom gpio.h header (in board include directory) or with gpio_chips).

To make the board-specific inlined gpio functions work, the MIPS
Makefile must be changed so that the mach-au1x00/gpio.h header is
included _after_ the board headers, by moving the inclusion of
the mach-au1x00/ to the end of the header list.

See arch/mips/include/asm/mach-au1x00/gpio.h for more info.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
05f94eebd55ef69a354d3ea70179e40ea4c34de6 02-Jun-2009 Imre Kaloz <kaloz@openwrt.org> MIPS: Sibyte: Remove standalone kernel support

CFE is the only supported and used bootloader on the SiByte boards,
the standalone kernel support has been never used outside Broadcom.
Remove it and make the kernel use CFE by default.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
195d1a96ae5fdfbedb8dc4b97afee578921fa99e 17-May-2009 peter fuerst <post@pfrst.de> MIPS: IP28: Change to build with -mr10k-cache-barrier=store

Richard Sandiford's new code for inserting the cache-barriers, for GCC
4.3 and above and already incorporated in the current GCC-release, uses
a slightly different option-syntax.

Signed-off-by: peter fuerst <post@pfrst.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1a4ba061b3c93804027b4cc4c588cfad748d9fc2 28-Apr-2009 Ralf Baechle <ralf@linux-mips.org> MIPS: Use -mno-check-zero-division

I don't think that in 15 years of Linux/MIPS the zero division checking
code generated by gcc by default has ever caught anything.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
05e41404470662a17699af9e6d91fc80ed91e757 28-Apr-2009 Ralf Baechle <ralf@linux-mips.org> MIPS: Set compiler options only after the compiler prefix has ben set.

Otherwise indigestable options might be passed to the host compiler.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
59968d3bb927f54db660e7cd4de389ebc292eec0 30-Mar-2009 Ralf Baechle <ralf@linux-mips.org> MIPS: Makefile: Add simple make install target.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
a83860c2da9303c864a53c299d17f608f9643541 13-Mar-2009 Ralf Baechle <ralf@linux-mips.org> MIPS: Mark Eins: Fix configuration.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
58e75e86cf9af1130b3c628d924e6df0bc72832f 21-Dec-2008 Manuel Lauss <mano@roarinelk.homelinux.net> MIPS: Alchemy: Move development board code to common subdirectory

This should ease sharing of common devboard code.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
7e69deb83c9fffe75e8ea17fb40a63375e56ac9f 12-Dec-2008 David Daney <ddaney@caviumnetworks.com> MIPS: Hook up Cavium OCTEON in arch/mips.

Take all the OCTEON specific files that were added, and hook them into
the build system for the arch/mips. For versions of GCC that lack
OCTEON support, override gas target architecture.

Signed-off-by: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f27655e34171b0ae9ea5a0aadae894e817f0f875 23-Oct-2008 Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> MIPS: EMMA: Move arch/mips/emma2rh/ into arch/mips/emma/

git mv arch/mips/{emma2rh,emma} and fixups Makefiles. We'll put all NEC
EMMA series based machines there in the future.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
cd741b604b94a4d5bebf2672626ffec7de44652c 23-Oct-2008 Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> MIPS: EMMA: Kconfig reorganization

- Move EMMA related stuff into arch/mips/emma/Kconfig
- Create CONFIG_SOC_EMMA* to handle more EMMA SoCs effectively
- Rename CONFIG_MARKEINS into CONFIG_NEC_MARKEINS

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
542c1020ac1cbc2f50934086ad893384a2cbd233 23-Oct-2008 Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> MIPS: Add CONFIG_CPU_R5500 for NEC VR5500 series processors

We already have sufficient infrastructure to support VR5500 and VR5500A
series processors. Here's a Makefile support to make it selectable by
ports, and enable it for NEC EMMA2RH Markeins board.

This patch also fixes a confused target help, and adds 1Gb PageMask bits
supported by VR5500 and its variants.

Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
edb6310aaa0dfc3da303a4ba6dff9dce3fbaa8d3 16-Jun-2008 Daniel Laird <daniel.j.laird@nxp.com> MIPS: Add support for NXP PNX833x (STB222/5) into linux kernel

The following patch add support for the NXP PNX833x SOC. More
specifically it adds support for the STB222/5 variant. It fixes
the vectored interrupt issue.

Signed-off-by: daniel.j.laird <daniel.j.laird@nxp.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
384740dc49ea651ba350704d13ff6be9976e37fe 16-Sep-2008 Ralf Baechle <ralf@linux-mips.org> MIPS: Move headfiles to new location below arch/mips/include

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
e8c7c482347574ecdd45c43e32c332d5fc2ece61 16-Sep-2008 Ralf Baechle <ralf@linux-mips.org> MIPS: Alchemy: rename directory

It's more than the au1000 these days.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
b27311e1cace4e296ace786c886d22f7a8ec78d6 01-Sep-2008 Atsushi Nemoto <anemo@mba.ocn.ne.jp> MIPS: TXx9: Add RBTX4939 board support

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

create mode 100644 arch/mips/txx9/rbtx4939/Makefile
create mode 100644 arch/mips/txx9/rbtx4939/irq.c
create mode 100644 arch/mips/txx9/rbtx4939/prom.c
create mode 100644 arch/mips/txx9/rbtx4939/setup.c
create mode 100644 include/asm-mips/txx9/rbtx4939.h
73b4390fb23456964201abda79f1210fe337d01a 16-Jul-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Routerboard 532: Support for base system

Signed-off-by: Phil Sutter <n0-1@freewrt.org>
Signed-off-by: Florian Fainelli <florian.fainelli@telecomint.eu>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
4c642f3f5e9f3f1a2fcce2c3fa1a94bf80142202 13-Jul-2008 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] TXx9: rename asm-mips/mach-jmr3927 to asm-mips/mach-tx39xx

Rename mach-jmr3927 directory to more proper name to make adding other
platforms easier.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
efff4ae259b8f750ea426d3084007f85c0a15a85 11-Jul-2008 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] cmbvr4133: Remove support

It cannot be built for a long time and nobody maintains it.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
edcaf1a6a77315562e9781245cc8e028c9a921dc 11-Jul-2008 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] TXx9: Make single kernel can support multiple boards

Make single kernel can be used on RBTX4927/37/38. Also make
some SoC-specific code independent from board-specific code.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
22b1d707ffc99faebd86257ad19d5bb9fc624734 10-Jul-2008 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] TXx9: Reorganize code

Move arch/mips/{jmr3927,tx4927,tx4938} into arch/mips/txx9/ tree.
This will help more code sharing and maintainance.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
315806cb19f9d375dccbc2d60fa14e16afdcd5ac 15-Jul-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Malta: Cleanup organization of code into directories.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
eda49eeebf263f3a34f6968959fc2e4825b42beb 15-Jul-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove always true ifdef conditions.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1398ddb2ebdb41e8efe6ba42505fd452704c8405 15-Jul-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] SEAD: Remove support code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2157bc68711bf0e69f9aca4d310bd863298fbb3f 15-Jul-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Atlas: Remove support code.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
372a775f50347f5c1dd87752b16e5c05ea965790 15-Jul-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Enable -ffunction-sections sections.

-ffunction-sections serves as a workaround for the problems caused by the
limited branch range in some inline assembler fragments for very large
compilation units.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
63a4881a7dd45038f46caa7c3c08b88b01cf9473 13-Jun-2008 Maciej W. Rozycki <macro@linux-mips.org> [MIPS] Sibyte: Build RTC support as an object

Build the SWARM platform library is as an object rather than an archive
so that files which only contain symbols used by initcalls and do not
provide any symbols that would pull them from an archive still work.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
0e27d7931157fa89cc9afb7735095a0d81ce8fec 27-May-2008 Thomas Bogendoerfer <tsbogend@alpha.franken.de> [MIPS] Better load address for big endian SNI RM

Use better load address for big endian kernels to avoid clashes with
PROM / SASH.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
a92b05880d261e9017ef8e7d5b6b01e0e5aa991d 06-Mar-2008 Daniel Laird <daniel.j.laird@nxp.com> [MIPS] Move arch/mips/philips to arch/mips/nxp

Signed-off-by: daniel.j.laird <daniel.j.laird@nxp.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
82933342c3b157c93f4b09199bcde8f2e961dff6 15-Mar-2008 Thomas Bogendoerfer <tsbogend@alpha.franken.de> [MIPS] Check for GCC r10k-cache-barrier support

Check whether gcc supports -mr10-cache-barrier=1 and issue a cleaner
error message if not. This option is needed to build working SGI IP28
kernels.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
de0c16985dbc04c11bf3c44df30030df5d060963 26-Feb-2008 Adrian Bunk <adrian.bunk@movial.fi> [MIPS] Use KBUILD_DEFCONFIG

With KBUILD_DEFCONFIG we don't have to ship a second copy of ip22_defconfig.

Signed-off-by: Adrian Bunk <adrian.bunk@movial.fi>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
302922e5f6901eb6f29c58539631f71b3d9746b8 29-Jan-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Qemu: Remove platform.

The Qemu platform was originally implemented to have an easily supportable
platform until Qemu reaches a state where it emulates a real world system.
Since the latest release Qemu is capable of emulating the MIPSsim and
Malta platforms, so this goal has been reached. The Qemu plaform is also
rather underfeatured so less useful than a Malta emulation.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
fa71c96002d1b02cd1ba1a4477d4b8ad95b587f9 29-Jan-2008 Ralf Baechle <ralf@linux-mips.org> [MIPS] Altas, Malta: Switch boot file format to raw.

A raw binary boots about twice as fast as SREC.

The possibility to generate SREC binaries remains by simply using the
vmlinux.srec target but seems only useful for the probably hypothetical
case where one of these systems is booted over a serial interface.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
231a35d37293ab88d325a9cb94e5474c156282c0 04-Jan-2008 Thomas Bogendoerfer <tsbogend@alpha.franken.de> [MIPS] RM: Collected changes

- EISA support for non PCI RMs (RM200 and RM400-xxx). The major part
is the splitting of the EISA and onboard ISA of the RM200, which
makes the EISA bus on the RM200 look like on other RMs.
- 64bit kernel support
- system type detection is now common for big and little endian
- moved sniprom code to arch/mips/fw
- added call_o32 function to arch/mips/fw/lib, which uses a private
stack for calling prom functions
- fix problem with ISA interrupts, which makes using PIT clockevent
possible

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
e2defae5a9b4f8d1acb058be212ef89c8763dc5b 02-Dec-2007 Thomas Bogendoerfer <tsbogend@alpha.franken.de> [MIPS] IP28 support

Add support for SGI IP28 machines (Indigo 2 with R10k CPUs)
This work is mainly based on Peter Fuersts work.

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
20d60d9973c3b441902b0a3f4f6f7e7ade08f77d 23-Oct-2007 Maciej W. Rozycki <macro@linux-mips.org> [MIPS] R4000/R4400 errata workarounds

This is the gereric part of R4000/R4400 errata workarounds. They include
compiler and assembler support as well as some source code modifications
to address the problems with some combinations of multiply/divide+shift
instructions as well as the daddi and daddiu instructions.

Changes included are as follows:

1. New Kconfig options to select workarounds by platforms as necessary.

2. Arch top-level Makefile to pass necessary options to the compiler; also
incompatible configurations are detected (-mno-sym32 unsupported as
horribly intrusive for little gain).

3. Bug detection updated and shuffled -- the multiply/divide+shift problem
is lethal enough that if not worked around it makes the kernel crash in
time_init() because of a division by zero; the daddiu erratum might
also trigger early potentially, though I have not observed it. On the
other hand the daddi detection code requires the exception subsystem to
have been initialised (and is there mainly for information).

4. r4k_daddiu_bug() added so that the existence of the erratum can be
queried by code at the run time as necessary; useful for generated code
like TLB fault and copy/clear page handlers.

5. __udelay() updated as it uses multiplication in inline assembly.

Note that -mdaddi requires modified toolchain (which has been maintained
by myself and available from my site for ~4years now -- versions covered
are GCC 2.95.4 - 4.1.2 and binutils from 2.13 onwards). The -mfix-r4000
and -mfix-r4400 have been standard for a while though.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
3247989ee864db2cc5dccb14460573fee82b6832 12-Nov-2007 Maciej W. Rozycki <macro@linux-mips.org> [MIPS] Makefile: Fix canonical system names

The GNU `config.guess' uses "linux-gnu" as the canonical system name.
Fix the list of compiler prefixes checked to spell it correctly.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
17f690be454de447d8ddc586fa418ebfdb200966 22-Oct-2007 Ralf Baechle <ralf@linux-mips.org> [MIPS] Kbuild: Use the new cc-cross-prefix feature.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
44a2db43eb715b54618bf01520cc5d46376cdbe2 17-Oct-2007 Maciej W. Rozycki <macro@linux-mips.org> lk201: remove obsolete driver

Remove the old-fashioned lk201 driver under drivers/tc/ that used to be
used by the old dz.c and zs.c drivers, which is now orphan code referred to
from nowhere and does not build anymore. A modern replacement is available
as drivers/input/keyboard/lkkbd.c.

There are no plans to do anything about this piece of code and it does not
fit anywhere anymore, so it is not just a matter of maintenance or the lack
of. There are still some bits that might be added to the new lkkbd.c
driver based on the old code, and the embedded hardware documentation which
is otherwise quite hard to get hold of might be useful to keep too. Both
of these can be done separately though. RIP.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
222d394d30e74bb7a2a65029fcea68107b0d0eb6 15-Oct-2007 Sam Ravnborg <sam@neptun.(none)> kbuild: enable 'make AFLAGS=...' to add additional options to AS

The variable AFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.

This patch replace use of AFLAGS with KBUILD_AFLAGS all over
the tree.

Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k, s390

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
a0f97e06a43cf524e616f09e6af3398e1e9c1c5b 14-Oct-2007 Sam Ravnborg <sam@neptun.(none)> kbuild: enable 'make CFLAGS=...' to add additional options to CC

The variable CFLAGS is a wellknown variable and the usage by
kbuild may result in unexpected behaviour.
On top of that several people over time has asked for a way to
pass in additional flags to gcc.

This patch replace use of CFLAGS with KBUILD_CFLAGS all over the
tree and enabling one to use:
make CFLAGS=...
to specify additional gcc commandline options.

One usecase is when trying to find gcc bugs but other
use cases has been requested too.

Patch was tested on following architectures:
alpha, arm, i386, x86_64, mips, sparc, sparc64, ia64, m68k

Test was simple to do a defconfig build, apply the patch and check
that nothing got rebuild.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
e58d95abb7b3232333ab35a09f7f5b0cd6a19cdb 27-Sep-2007 Franck Bui-Huu <fbuihuu@gmail.com> [MIPS] Don't abort the build process if '-msym32' isn't supported

-msym32 and previously the strategy to tell the compiler to generate
64-bit code but the assembler to put it into 32-bit ELF was initially
a hack to get around the lack of proper 64-bit binutils support and
later turned into a neat optimization with significant code size
savings. But it's really just an optimization so there is nothing
wrong with just dropping the option (and whatever else goes along with
it, I forgot all the nasty details) on the floor if due to a vintage
compiler it can't be suported.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2f56cfdd812a17623483d3dfa3370a2e6282b245 05-Sep-2007 Aurelien Jarno <aurelien@aurel32.net> [MIPS] Move ARC code into arch/mips/fw/arc

Move the ARC code to arch/mips/fw/arc from arch/mips/arc.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
df78b5c8faa72b3c04f82faab126de93af178348 05-Sep-2007 Aurelien Jarno <aurelien@aurel32.net> [MIPS] Move CFE code into arch/mips/fw/cfe

Move the platform independent part of the CFE code to arch/mips/fw/cfe from
arch/mips/sibyte/cfe.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1c0c13eb935c95fd2ca0b0aca6dd4860487fb242 25-Sep-2007 Aurelien Jarno <aurelien@aurel32.net> [MIPS] Add support for BCM47XX CPUs.

Note that the BCM4710 does not support the wait instruction, this
is not a mistake in the code.

It originally comes from the OpenWrt patches.

Cc: Michael Buesch <mb@bu3sch.de>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Florian Schirmer <jolt@tuxbox.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1f21d2bde0046e959b53756f74d96dfd040a803b 21-Aug-2007 Brian Murphy <brm@murphy.dk> [MIPS] Add back support for LASAT platforms

Signed-off-by: Brian Murphy <brian@murphy.dk>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
054c51b4368648406f487f54b7ed6ba75bbb3f8b 15-Feb-2007 Franck Bui-Huu <vagabon.xyz@gmail.com> [MIPS] Rename CONFIG_BUILD_ELF64 into KBUILD_64BIT_SYM32

This patch renames it for 3 reasons:

- "CONFIG" pattern is used by Kconfig. Now this macro is
no more defined by Kconfig but by Kbuild itself make this
clear by translating "CONFIG" into "KBUILD".

- "ELF32" word is improper because it is irrelevant to ELF
format and it makes confusion with CONFIG_BOOT_ELF32. So
translate it with SYM32.

- Add "64BIT" part to make clear that this macro implies a
64 bits kernel.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
adff90a9333004d5459823665e8bcf6cb9214f79 15-Feb-2007 Franck Bui-Huu <fbuihuu@gmail.com> [MIPS] Automatically set CONFIG_BUILD_ELF64

We do not rely on user anymore to setup this config correctly.
Instead we make our choice depending on the load address.

If we want to force Kbuild to use ELF64 format whatever
the load address we can still do:

$ make BUILD_ELF32=no

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
8c67316e706cabc2145d6c8e97f0bd8f2a86d8a1 15-Feb-2007 Franck Bui-Huu <fbuihuu@gmail.com> [MIPS] Remove '-mno-explicit-relocs' option when CONFIG_BUILD_ELF64

This patch removes '-mno-explicit-relocs' usage when
CONFIG_BUILD_ELF64 is set since this option was only required
with the old hack to truncate addresses at the assembly level
where "-mabi=64 -Wa,-mabi=32" was used.

This should yield a small code size improvement for inline
assembly, where the R constraint is used.

The idea is coming from Maciej <macro@linux-mips.org>.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
ff32b062ea6d16a1c53d57da0ac9419c9d015534 30-Jul-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] DDB5477: Remove support

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
0b0ef2ea00c581d613e15eadc3215d52a6a55946 28-Jul-2007 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove Momentum Ocelot support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
e7865765ef85473c1b97aad86d44b80dc260dbbf 28-Jul-2007 Ralf Baechle <ralf@linux-mips.org> [MIPS] Fix archhelp.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
8496b401b03393bf9f03bc913a420cbe7de691d3 28-Jul-2007 Ralf Baechle <ralf@linux-mips.org> [MIPS] Cleanup default bootfile format rule mess.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9a0f3b73601a146998236237d82b55ae80337f10 13-Jul-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] MIPSsim: Fix cflags

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
688b3d720820a9e3e2e9d5882be64a28f649e206 09-Jul-2007 Ralf Baechle <ralf@linux-mips.org> [MIPS] Delete Ocelot 3 support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c99cabf034d42c9e4a9c1ed9dfd26411b2fb9b57 09-Jul-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] remove LASAT Networks platforms support

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
5ddcb3c35be995517a32799796e2acda90a784e0 25-Jun-2007 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Make ioremap() work on TX39/49 special unmapped segment

TX39XX and TX49XX have "reserved" segment in CKSEG3 area.
0xff000000-0xff3fffff on TX49XX and 0xff000000-0xfffeffff on TX39XX
are reserved (unmapped, uncached). Controllers on these SoCs are
placed in this segment.

This patch add plat_ioremap() and plat_iounmap() to override default
behavior and implement these hooks for TX39/TX49.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9267a30d1dc7dcd7cadb5eb6a5bbfed703feeefa 14-Jun-2007 Marc St-Jean <stjeanma@pmc-sierra.com> [MIPS] PMC MSP71xx mips common

Patch to add mips common support for the PMC-Sierra MSP71xx devices.

Signed-off-by: Marc St-Jean <Marc_St-Jean@pmc-sierra.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
42d226c7248a28ff8c478c06b7e9bd9ef5d73574 06-Jun-2007 Songmao Tian <tiansm@lemote.com> [MIPS] New files for lemote fulong mini-PC support

Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
Signed-off-by: Songmao Tian <tiansm@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2a21c7300b53b744d16903256a172d9cbcfdd03e 06-Jun-2007 Fuxin Zhang <zhangfx@lemote.com> [MIPS] define Hit_Invalidate_I to Index_Invalidate_I for loongson2

Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
192cca6ef2c49ac5ff46f7a31cb9dd175995658e 11-Jun-2007 Franck Bui-Huu <vagabon.xyz@gmail.com> [MIPS] Remove Momenco Ocelot C support

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

delete mode 100644 arch/mips/configs/ocelot_c_defconfig
delete mode 100644 arch/mips/momentum/ocelot_c/Makefile
delete mode 100644 arch/mips/momentum/ocelot_c/cpci-irq.c
delete mode 100644 arch/mips/momentum/ocelot_c/dbg_io.c
delete mode 100644 arch/mips/momentum/ocelot_c/irq.c
delete mode 100644 arch/mips/momentum/ocelot_c/ocelot_c_fpga.h
delete mode 100644 arch/mips/momentum/ocelot_c/platform.c
delete mode 100644 arch/mips/momentum/ocelot_c/prom.c
delete mode 100644 arch/mips/momentum/ocelot_c/reset.c
delete mode 100644 arch/mips/momentum/ocelot_c/setup.c
delete mode 100644 arch/mips/momentum/ocelot_c/uart-irq.c
delete mode 100644 arch/mips/pci/fixup-ocelot-c.c
delete mode 100644 arch/mips/pci/pci-ocelot-c.c
6b5bf509317c013ea0a7c166affc1d4631720d85 21-Jun-2007 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] EV64120: Remove support

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
b63e804459b9b550c1ab21a43e6bac2272e32612 04-Jun-2007 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Remove unused watchpoint support and arch/mips/lib-{32,64}

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f6e2373ad6148476464fc7bb2610c6450c18cd2a 10-Jul-2007 Ralf Baechle <ralf@linux-mips.org> [MIPS] MIPSsim: Move code away from the other MIPS Inc. BSP code.

It shares no code at all. While at it also fix up the beginning bitrot.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
e48ce6b8df5b51af3f38b20bb3d008dff69ff64e 29-May-2007 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Simplify missing-syscalls for N32 and O32

Use standard missing-syscalls with EXTRA_CFLAGS instead of duplicating
the command. And move the archprepare rule before the archclean rule.
Suggested by Franck Bui-Huu. Also add "echo" to show the target ABI.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
fcbee6410d5c4112593e7082fb8d96dfdc6c1c25 10-May-2007 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Run checksyscalls for N32 and O32 ABI

On 64-bit MIPS, only N64 ABI is checked by default. This patch adds
some rules for other ABIs. This results in these warnings at the
moment:

CALL-N32 /home/git/linux-mips/scripts/checksyscalls.sh
<stdin>:148:2: warning: #warning syscall time not implemented
<stdin>:424:2: warning: #warning syscall select not implemented
<stdin>:440:2: warning: #warning syscall uselib not implemented
<stdin>:856:2: warning: #warning syscall vfork not implemented
<stdin>:868:2: warning: #warning syscall truncate64 not implemented
<stdin>:872:2: warning: #warning syscall ftruncate64 not implemented
<stdin>:876:2: warning: #warning syscall stat64 not implemented
<stdin>:880:2: warning: #warning syscall lstat64 not implemented
<stdin>:884:2: warning: #warning syscall fstat64 not implemented
<stdin>:980:2: warning: #warning syscall getdents64 not implemented
<stdin>:1176:2: warning: #warning syscall fadvise64_64 not implemented
<stdin>:1284:2: warning: #warning syscall fstatat64 not implemented
<stdin>:1364:2: warning: #warning syscall utimensat not implemented
CALL-O32 /home/git/linux-mips/scripts/checksyscalls.sh
<stdin>:424:2: warning: #warning syscall select not implemented
<stdin>:856:2: warning: #warning syscall vfork not implemented
<stdin>:1176:2: warning: #warning syscall fadvise64_64 not implemented
<stdin>:1364:2: warning: #warning syscall utimensat not implemented
CALL /home/git/linux-mips/scripts/checksyscalls.sh
<stdin>:148:2: warning: #warning syscall time not implemented
<stdin>:424:2: warning: #warning syscall select not implemented
<stdin>:440:2: warning: #warning syscall uselib not implemented
<stdin>:856:2: warning: #warning syscall vfork not implemented
<stdin>:980:2: warning: #warning syscall getdents64 not implemented
<stdin>:1364:2: warning: #warning syscall utimensat not implemented

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
bef964e55ac128b1a6894c68171d0b22263449f8 07-May-2007 Franck Bui-Huu <fbuihuu@gmail.com> [MIPS] Remove Momenco Jaguar ATX support

It has some hackish code and it odd DMA results in the need to support
old features in kernel code.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1e54f778af4467b816bf1289e7c4bf7e50067b7b 07-May-2007 Franck Bui-Huu <fbuihuu@gmail.com> [MIPS] Remove Momenco Ocelot G support

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
59c51591a0ac7568824f541f57de967e88adaa07 09-May-2007 Michael Opdenacker <michael@free-electrons.com> Fix occurrences of "the the "

Signed-off-by: Michael Opdenacker <michael@free-electrons.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
d619f38fdacb5cec0c841798bbadeaf903868852 29-Mar-2007 Mark Mason <mmason@upwardaccess.com> [MIPS] Add bcm1480 ZBus trace support, fix wait related bugs

Make ZBus tracing generic - moving it to a common direcotry under
arch/mips/sibyte, add bcm1480 support and fix some wait related
bugs (thanks to Ralf for assistance on that).

Signed-off-by: Mark Mason <mason@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9693a85378b590cc7a4aa2db2174422585c7c8c4 02-Feb-2007 Franck Bui-Huu <fbuihuu@gmail.com> [MIPS] Add basic SMARTMIPS ASE support

This patch adds trivial support for SMARTMIPS extension. This extension
is currently implemented by 4KS[CD] CPUs.

Basically it saves/restores ACX register, which is part of the SMARTMIPS
ASE, when needed. This patch does *not* add any support for Smartmips MMU
features.

Futhermore this patch does not add explicit support for 4KS[CD] CPUs since
they are respectively mips32 and mips32r2 compliant. So with the current
processor configuration, a platform that has such CPUs needs to select
both configs:

CPU_HAS_SMARTMIPS
SYS_HAS_CPU_MIPS32_R[12]

This is due to the processor configuration which is mixing up all the
architecture variants and the processor types.

The drawback of this, is that we currently pass '-march=mips32' option to
gcc when building a kernel instead of '-march=4ksc' for 4KSC case. This
can lead to a kernel image a little bit bigger than required.

Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
48c35b2d245fffedadce62769aafea8ecf493d19 23-Jan-2007 Alexey Dobriyan <adobriyan@gmail.com> [MIPS] There is no __GNUC_MAJOR__

Gcc major version number is in __GNUC__. As side effect fix checking
with sparse if sparse was built with gcc 4.1 and mips cross-compiler
is 3.4.

Sparse will inherit version 4.1, __GNUC__ won't be filtered from
"-dM -E -xc" output, sparse will pick only new major, effectively becoming
gcc version 3.1 which is unsupported.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f0647a52974daccbe20990fb6341f07792445fe0 08-Dec-2006 Vitaly Wool <vitalywool@gmail.com> [PATCH] add STB810 support (Philips PNX8550-based)

Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
14b36af46a1d3652aff6734ea24816995dff8123 05-Dec-2006 Thomas Bogendoerfer <tsbogend@alpha.franken.de> [MIPS] Rename SNI_RM200_PCI to just SNI_RM preparing for more RM machines

Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
656be92f9ae194ed62bc81310a4589a7cd765f13 25-Oct-2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Load modules to CKSEG0 if CONFIG_BUILD_ELF64=n

This is a patch to load 64-bit modules to CKSEG0 so that can be
compiled with -msym32 option. This makes each module ~10% smaller.

* introduce MODULE_START and MODULE_END
* custom module_alloc()
* PGD for modules
* change XTLB refill handler synthesizer
* enable -msym32 for modules again
(revert ca78b1a5c6a6e70e052d3ea253828e49b5d07c8a)

New XTLB refill handler looks like this:

80000080 dmfc0 k0,C0_BADVADDR
80000084 bltz k0,800000e4 # goto l_module_alloc
80000088 lui k1,0x8046 # %high(pgd_current)
8000008c ld k1,24600(k1) # %low(pgd_current)
80000090 dsrl k0,k0,0x1b # l_vmalloc_done:
80000094 andi k0,k0,0x1ff8
80000098 daddu k1,k1,k0
8000009c dmfc0 k0,C0_BADVADDR
800000a0 ld k1,0(k1)
800000a4 dsrl k0,k0,0x12
800000a8 andi k0,k0,0xff8
800000ac daddu k1,k1,k0
800000b0 dmfc0 k0,C0_XCONTEXT
800000b4 ld k1,0(k1)
800000b8 andi k0,k0,0xff0
800000bc daddu k1,k1,k0
800000c0 ld k0,0(k1)
800000c4 ld k1,8(k1)
800000c8 dsrl k0,k0,0x6
800000cc mtc0 k0,C0_ENTRYLO0
800000d0 dsrl k1,k1,0x6
800000d4 mtc0 k1,C0_ENTRYL01
800000d8 nop
800000dc tlbwr
800000e0 eret
800000e4 dsll k1,k0,0x2 # l_module_alloc:
800000e8 bgez k1,80000008 # goto l_vmalloc
800000ec lui k1,0xc000
800000f0 dsubu k0,k0,k1
800000f4 lui k1,0x8046 # %high(module_pg_dir)
800000f8 beq zero,zero,80000000
800000fc nop
80000000 beq zero,zero,80000090 # goto l_vmalloc_done
80000004 daddiu k1,k1,0x4000
80000008 dsll32 k1,k1,0x0 # l_vmalloc:
8000000c dsubu k0,k0,k1
80000010 beq zero,zero,80000090 # goto l_vmalloc_done
80000014 lui k1,0x8046 # %high(swapper_pg_dir)

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
236d333c3c05c179e31f461285c09271256a1381 10-Oct-2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Do not use -msym32 option for modules.

On 64-bit kernel, modules are loaded into XKSEG for now. While XKSEG
address is not a sign-extended 32-bit address, we can not use -msym32
option.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f94054121efcba573f12101a75a4be93e871b309 10-Oct-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Workaround for bug in gcc -EB / -EL options.

Certain gcc versions upto gcc 4.1.1 (probably 4.2-subversion as of
2006-10-10 don't properly change the the predefined symbols if -EB / -EL
are used, so we kludge that here. A bug has been filed at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29413.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
af8b128719f5248e542036ea994610a29d0642a6 02-Oct-2006 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] Remove IT8172-based platforms, ITE 8172G and Globespan IVR support.

As per feature-removal-schedule.txt.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
d48f1de2d8170814fb64effa320848410c466f95 20-Sep-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove EV96100 as previously announced.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
09f451bfb9fe5ceea763a9ebd6ec73dd05e4faf8 30-Aug-2006 Maciej W. Rozycki <macro@mips.com> [MIPS] SEAD defconfig build fix

Signed-off-by: Maciej W. Rozycki <macro@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
b8828d3e0d0fa33ac7f6dbd7c6820d9e0f7be40d 07-Jul-2006 Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> [MIPS] Remove vmlinux.rm200 target from makefile.

Long ago in the dark ages this was used a MIPS a.out binary to be used
with Milo which is obsolete since years.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
14cd8015015199d6e8dea8aa4948b559137df7b7 29-Jun-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Consistent formatting for Qemu makefile segment.
35189fad3cb5f6e3ab66c8321928a851de0cd2b1 18-Jun-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Support for the RM9000-based Basler eXcite smart camera platform.

Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
355c471f2ff324c21f8a1fb8e2e242a0f2a4aa68 21-May-2006 dmitry pervushin <dpervushin@ru.mvista.com> [MIPS] Support for the R5500-based NEC EMMA2RH Mark-eins board

Signed-off-by: dmitry pervushin <dpervushin@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
470b160364db5b8096b8e557a23c97eb6612be67 18-Jun-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove support for NEC DDB5476.

As warned several times before.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
eaff3888742155bd397e45a1c3323c0173042e5b 18-Jun-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove support for NEC DDB5074.

As warned several times before.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
a240a469649eaab03f0c4c7fbb21ea5041bf5572 06-May-2006 Mark.Zhan <rongkai.zhan@windriver.com> [MIPS] Wind River 4KC PPMC Eval Board Support

Support for the GT-64120-based Wind River 4KC PPMC Evaluation board.

Signed-off-by: Rongkai.Zhan <Rongkai.zhan@windriver.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
72fbfb260197a52c2bc2583f3e8f15d261d0f924 07-Jun-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Fix optimization for size build.

It took a while longer than on other architectures but gcc has finally
started to strike us as well ...

This also fixes the damage by 6edfba1b33c701108717f4e036320fc39abe1912.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2a2c3e451965aca35c2d0d1b2db1dbd1d839c75e 14-Apr-2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Sparse: fix sparse for 64-bit kernels.

This commit breaks sparse for 64bit kernel. The -m64 option is
required. Also, some macro values (such as _MIPS_TUNE, etc.) contain
double-quote characters so it would be better quoting arguments by
single-quote characters.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9200c0b2a07c430bd98c546fc44b94f50e67ac62 06-Apr-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Fix Makefile bugs for MIPS32/MIPS64 R1 and R2.

This fixes kernel builds with gcc 3.2 (not 64-bit, that is looking like
it is beyond recovery) and 3.3. With these bugs fixed we now also can
get undo 3b4c4996a0c24da9e6f8be764e3950b756b18cc0 and similar bits for
SMTC that were added in 79cc8007b93838a670b164b8a55ab3e735a12a8b.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c9e321e095384f25f2b7ffef456794cfa876dafc 01-Apr-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Fix breakage due to the grand makefile crapectomy.

It's cc-option not cc-options.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
59b3e8e9aac69d2d02853acac7e2affdfbabca50 08-Mar-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Makefile crapectomy.

Dump all the ridiculously complicated stuff that was needed support
compilers older and newer than 3.0.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
8145095cd8fd466980ea6401f26a52e462275222 23-Feb-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove CONFIG_BUILD_ELF64.

This option is no longer usable with supported compilers. It will be
replaced by usage of -msym32 in a separate patch.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9007c9a2b03ea325ee593a161dbf01dbb8222d7e 18-Mar-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] SB1: Check for -mno-sched-prolog if building corelis debug kernel.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
6218cf4410cfce7bc7e89834e73525b124625d4c 08-Mar-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Always pass -msoft-float.

Some people still haven't heared that fp in the kernel is forbidden.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
fbb6b3a4ac0ccf12a97c98881d9d873d6dc26fe5 10-Feb-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Get rid of kludgery needed to keep stdargs of old compilers working.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
75bdb426a16e81adcbc4c3d7f946018cd47830d1 30-Jan-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Remove commented out code to add -mmad for Nevada.

Adding -mmad is not usable since over half a decade in gcc and when
fixed the proper -march option values should enable the use of the
mad, madu and mul instructions of the R5500, RM5200, RM7000 and RM9000
families.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c315a2b5fed42aea4dda98b5ced35d1d1a3a8349 28-Jan-2006 Atsushi Nemoto <anemo@mba.ocn.ne.jp> [MIPS] Sparse: Add _MIPS_SZINT and _MIPS_ISA to CHECKFLAGS to fix sparse warnings.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
11ed6d5bb01c5f347fd5c47e0005f06687c66f1f 19-Jan-2006 Ralf Baechle <ralf@linux-mips.org> [MIPS] Rename include/asm-mips/cobalt to include/asm-mips/mach-cobalt.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
d4ea001dd0912a14967266581601494d94a4c565 21-Dec-2005 Ralf Baechle <ralf@linux-mips.org> MIPS: Don't pass -finline-limit=100000.

This was a stop gap meassure for gcc 3.3 and newer sometimes not inlining
inline functions in the 2.4 days. Starting we pass the always_inline
attribute, so -finline-limit is no longer necessary and it's been shown
to problematic on Sparc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
5135b0cdb23e47dd48d8100e45bd48ce937732ff 15-Nov-2005 Ralf Baechle <ralf@linux-mips.org> [MIPS] JMR3927: need include/asm-mips/mach-jmr3927 in it's include path.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9a6dcea10308df50ed54d6d5a43c9f6c3e927118 20-Oct-2005 Andrew Isaacson <adi@broadcom.com> Support for BigSur board.

Signed-Off-By: Andy Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
f137e463b50aadba91bd116f99c59ccb9c15a12f 20-Oct-2005 Andrew Isaacson <adi@broadcom.com> Add support for BCM1480 family of chips.

- Kconfig and Makefile changes
- arch/mips/sibyte/bcm1480/
- changes to sibyte common code to support 1480

Signed-Off-By: Andy Isaacson <adi@broadcom.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c78cbf49c4edf2f9ca9e56d4b87a5d6ef08b7fed 30-Sep-2005 Ralf Baechle <ralf@linux-mips.org> Support for MIPSsim, the cycle accurate MIPS simulator.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
23fbee9dd5d2a41d36af49ff8e1669fb0c29fda8 26-Jul-2005 Ralf Baechle <ralf@linux-mips.org> Support for Toshiba's RBHMA4500 eval board for the TX4938.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
154b500b1981a8053a15cd8e749a955a9bb60006 22-Jul-2005 Ralf Baechle <ralf@linux-mips.org> commit 1858f72fa2e2f63e62114a9bd40c8e68468d8c5e
Author: Ralf Baechle <ralf@linux-mips.org>
Date: Fri Jul 22 05:46:02 2005 +0000

New build target vmlinux.bin build raw binary image for Qemu.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
bdf21b18b4abf983db38f04ef7fec88f47389867 14-Jul-2005 Pete Popov <ppopov@embeddedalley.com> Philips PNX8550 support: MIPS32-like core with 2 Trimedias on it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
079ef8bb809c701fa0ab09d8984262693b854f94 12-Jul-2005 Ralf Baechle <ralf@linux-mips.org> Generate code for MIPS32 / MIPS64 Release 2 if configured for one of
these architectures.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
85f14bf2cb084990970f897463dea66182d28acf 07-Jul-2005 Thiemo Seufer <ths@networkno.de> ... and it isn't a canonicalized triplet but just the n-plet used to
configure gcc.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
73f74e23a6d9f3aabccf966c18cff04a74afed7f 07-Jul-2005 Thiemo Seufer <ths@networkno.de> Grep deesn't like shell-style matching...

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
f425a6dce50475f08547d08763f707589478b027 07-Jul-2005 Thiemo Seufer <ths@networkno.de> Hack to make compiles for the other endianness easier.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Thiemo Seufer <ths@networkno.de>
6e760c8dae7d6c47eff011dd4aad53c94d30494b 06-Jul-2005 Ralf Baechle <ralf@linux-mips.org> Rename CONFIG_CPU_MIPS{32,64} to CONFIG_CPU_MIPS{32|64}_R1.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
149f60b30c947196be4dacb0fba216d72f51bf9f 19-May-2005 Ralf Baechle <ralf@linux-mips.org> When building for Atlas, Malta or SEAD convert the kernel to srecs by
default.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
fe00f943e0ef98b4057abcc2940d631a975b43cd 01-Mar-2005 Ralf Baechle <ralf@linux-mips.org> Sparseify MIPS.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
e3ad1c23ba72214669b364c6fa304531dc768c3e 01-Mar-2005 Pete Popov <ppopov@embeddedalley.com> Base Au1200 2.6 support.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
c4ed38a0c6e2e5c4906296758f816ee71373792f 21-Feb-2005 Ralf Baechle <ralf@linux-mips.org> Resurrect Cobalt support for 2.6.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
9f83d839dfd2dbe421224c29f02cef77f5b4b875 21-Feb-2005 Thiemo Seufer <ths@networkno.de> -nostdlib boilerplate.

Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
048eb582f3f89737d4a29668de9935e6feea7c36 09-Sep-2005 Sam Ravnborg <sam@mars.(none)> kbuild: mips use generic asm-offsets.h support

Removed obsolete stuff from arch makefile.
mips had a special rule for generating asm-offsets.h so preserved it
using an architecture specific hook in top-level Kbuild file.
Renamed .h file to asm-offsets.h

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
42a3b4f25af8f8d77feddf27f839fa0628dbff1a 04-Sep-2005 Ralf Baechle <ralf@linux-mips.org> [PATCH] mips: nuke trailing whitespace

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
875d43e72b5bf22161a81de7554f88eccf8a51ae 04-Sep-2005 Ralf Baechle <ralf@linux-mips.org> [PATCH] mips: clean up 32/64-bit configuration

Start cleaning 32-bit vs. 64-bit configuration.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
63b799f9ded82444212afdcf61379a247d544909 04-Sep-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp> [PATCH] mips: add TANBAC VR4131 multichip module

This patch has added TANBAC VR4131 multichip module in arch/mips/Kconfig

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
07119621e62de0a2c8db6e4896e762c498bfdd17 04-Sep-2005 Ralf Baechle <ralf@linux-mips.org> [PATCH] mips: add support for Qemu system architecture

Add support for the virtual MIPS system that is emulated by Qemu. See
http://www.linux-mips.org/wiki/Qemu for a detailed current status.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
0ad7305f52bc8880d50a6471c90d35a6768f2865 04-Sep-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp> [PATCH] mips: moreover remove vr4181

We also need this patch for removing mips vr4181.

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
8bb670c1407c2a4890810fd3e348dac1b89e669e 04-Sep-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp> [PATCH] mips: change system type name in proc for vr41xx

This patch has changed system type name in proc for vr41xx.

Signed-off-by: Yoichi Yuasa <yuasa@hh.iij4u.or.jp>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
7c6b155fb49fbc63e0b30a1d49552693c0b45be7 25-Jul-2005 Sam Ravnborg <sam@mars.(none)> kbuild: drop descend - converting existing users

There was only two users left of descend. Fix them so they
use $(clean)= and $(build)=.
Drop definition of descend.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!