linux-mips
[Top] [All Lists]

Re: [PATCH] Add support for 4KS cpu.

To: Franck <vagabon.xyz@gmail.com>
Subject: Re: [PATCH] Add support for 4KS cpu.
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Tue, 4 Oct 2005 17:01:37 +0100 (BST)
Cc: "Kevin D. Kissell" <kevink@mips.com>, Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
In-reply-to: <cda58cb80510040818v6d93fe53w@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80510040149p690397afo@mail.gmail.com> <Pine.LNX.4.61L.0510041219500.10696@blysk.ds.pg.gda.pl> <434277D5.1090603@mips.com> <Pine.LNX.4.61L.0510041358300.10696@blysk.ds.pg.gda.pl> <434289A7.50007@mips.com> <cda58cb80510040818v6d93fe53w@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 4 Oct 2005, Franck wrote:

> should I pass these options to GCC for 4KSc ?
> 
> cflags-$(CONFIG_CPU_4KSC)      += \
>                        $(call set_gccflags,4kc,mips32r1,r4600,mips3,mips2) \
>                        -msmartmips -Wa,--trap

 s/mips32r1/mips32/, otherwise OK.

 But since you seem to use SDE, you may as well just use "4ksc" (and 
possibly skip "-msmartmips" as it's implied); similarly for "4ksd".  
Unfortunately documentation on what CPU types are accepted seems to be 
incomplete -- use `gcc -v --help' to see which ones are actually 
available.

  Maciej

<Prev in Thread] Current Thread [Next in Thread>