]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit - arch/mips/cpu/mips32/config.mk
MIPS: Optimize the setup of CPU optimization flags
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Mon, 28 Mar 2011 16:33:56 +0000 (18:33 +0200)
committerShinya Kuribayashi <skuribay@pobox.com>
Sat, 2 Apr 2011 13:07:12 +0000 (22:07 +0900)
commit04efda7afca03692dd7335d1205211c302d502a4
tree4781068d2e6868fc1762a077a5d7c83ebfcb7958
parent91809608a44f7d90be4c630f09c9de54cc3852d8
MIPS: Optimize the setup of CPU optimization flags

The current MIPS CPU config.mk code always expects a MIPS 4kc
core. This is not appropiate for other CPUs and SoCs.

Replace the current MIPSFLAGS code by cc-option macro and use
-march=mips32r2 as default optimization level for all MIPS32 CPUs.

Note: Since commit f62fb99941c625605aa16a0097b396a5c16d2c88 all
toolchains with binutils prior to v2.16 are not working anymore.
As agreed with Shinya Kuribayashi the support for those toolchains
will be dropped officially with this patch.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Cc: Wolfgang Denk <wd@denx.de>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
arch/mips/cpu/mips32/config.mk