X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fpatches-2.6.32%2F100-mips-ralink-core.patch;h=10d329ca05ac4b572c6f1770f8799c7ebb04903a;hb=ecf7373dc8ebc16e79236682041d2b0b12ce8acf;hp=5bf5f34a04036d6b95ed89884235a8739d4d4381;hpb=c6fd9710b60769922aa12d8192939147852320b1;p=openwrt-10.03%2F.git diff --git a/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch b/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch index 5bf5f34a0..10d329ca0 100644 --- a/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch +++ b/target/linux/ramips/patches-2.6.32/100-mips-ralink-core.patch @@ -1,7 +1,7 @@ --- a/arch/mips/Makefile +++ b/arch/mips/Makefile -@@ -624,6 +624,26 @@ else - load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000 +@@ -156,6 +156,26 @@ ifeq (,$(findstring march=octeon, $(cfla + cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += -Wa,-march=octeon endif +# @@ -24,9 +24,9 @@ +cflags-$(CONFIG_RALINK_RT305X) += -I$(srctree)/arch/mips/include/asm/mach-ralink/rt305x +load-$(CONFIG_RALINK_RT305X) += 0xffffffff80000000 + - # temporary until string.h is fixed - cflags-y += -ffreestanding - + cflags-$(CONFIG_CPU_R4000_WORKAROUNDS) += $(call cc-option,-mfix-r4000,) + cflags-$(CONFIG_CPU_R4400_WORKAROUNDS) += $(call cc-option,-mfix-r4400,) + cflags-$(CONFIG_CPU_DADDI_WORKAROUNDS) += $(call cc-option,-mno-daddi,) --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -43,6 +43,9 @@ config AR7