parent
0d25337129
commit
a78ea864cc
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* This file is subject to the terms and conditions of the GNU General Public
|
||||||
|
* License. See the file "COPYING" in the main directory of this archive
|
||||||
|
* for more details.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#ifndef __ASM_MIPS_MACH_IFXMIPS_WAR_H
|
||||||
|
#define __ASM_MIPS_MACH_IFXMIPS_WAR_H
|
||||||
|
|
||||||
|
#define R4600_V1_INDEX_ICACHEOP_WAR 0
|
||||||
|
#define R4600_V1_HIT_CACHEOP_WAR 0
|
||||||
|
#define R4600_V2_HIT_CACHEOP_WAR 0
|
||||||
|
#define R5432_CP0_INTERRUPT_WAR 0
|
||||||
|
#define BCM1250_M3_WAR 0
|
||||||
|
#define SIBYTE_1956_WAR 0
|
||||||
|
#define MIPS4K_ICACHE_REFILL_WAR 0
|
||||||
|
#define MIPS_CACHE_SYNC_WAR 0
|
||||||
|
#define TX49XX_ICACHE_INDEX_INV_WAR 0
|
||||||
|
#define RM9000_CDEX_SMP_WAR 0
|
||||||
|
#define ICACHE_REFILLS_WORKAROUND_WAR 0
|
||||||
|
#define R10000_LLSC_WAR 0
|
||||||
|
#define MIPS34K_MISSED_ITLB_WAR 0
|
||||||
|
|
||||||
|
#endif
|
@ -1,66 +1,57 @@
|
|||||||
Index: linux-2.6.23/arch/mips/Kconfig
|
Index: linux-2.6.25/arch/mips/Kconfig
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.23.orig/arch/mips/Kconfig 2007-10-16 22:12:19.000000000 +0200
|
--- linux-2.6.25.orig/arch/mips/Kconfig 2008-05-05 08:35:34.000000000 +0100
|
||||||
+++ linux-2.6.23/arch/mips/Kconfig 2007-10-16 22:12:21.000000000 +0200
|
+++ linux-2.6.25/arch/mips/Kconfig 2008-05-05 08:35:46.000000000 +0100
|
||||||
@@ -58,6 +58,17 @@
|
@@ -78,6 +78,17 @@
|
||||||
select SYS_SUPPORTS_LITTLE_ENDIAN
|
select SYS_SUPPORTS_LITTLE_ENDIAN
|
||||||
select GENERIC_HARDIRQS_NO__DO_IRQ
|
select GENERIC_HARDIRQS_NO__DO_IRQ
|
||||||
|
|
||||||
+config IFXMIPS
|
+config IFXMIPS
|
||||||
+ bool "IFXMips support"
|
+ bool "IFXMips support"
|
||||||
+ select DMA_NONCOHERENT
|
+ select DMA_NONCOHERENT
|
||||||
+ select IRQ_CPU
|
+ select IRQ_CPU
|
||||||
+ select SYS_HAS_CPU_MIPS32_R1
|
+ select SYS_HAS_CPU_MIPS32_R1
|
||||||
+ select HAVE_STD_PC_SERIAL_PORT
|
+ select HAVE_STD_PC_SERIAL_PORT
|
||||||
+ select SYS_SUPPORTS_BIG_ENDIAN
|
+ select SYS_SUPPORTS_BIG_ENDIAN
|
||||||
+ select SYS_SUPPORTS_32BIT_KERNEL
|
+ select SYS_SUPPORTS_32BIT_KERNEL
|
||||||
+ select SYS_HAS_EARLY_PRINTK
|
+ select SYS_HAS_EARLY_PRINTK
|
||||||
+ select HW_HAS_PCI
|
+ select HW_HAS_PCI
|
||||||
+
|
+
|
||||||
config MACH_DECSTATION
|
config MACH_DECSTATION
|
||||||
bool "DECstations"
|
bool "DECstations"
|
||||||
select BOOT_ELF32
|
select BOOT_ELF32
|
||||||
@@ -605,6 +615,7 @@
|
Index: linux-2.6.25/arch/mips/Makefile
|
||||||
source "arch/mips/tx4927/Kconfig"
|
|
||||||
source "arch/mips/tx4938/Kconfig"
|
|
||||||
source "arch/mips/vr41xx/Kconfig"
|
|
||||||
+source "arch/mips/ifxmips/Kconfig"
|
|
||||||
|
|
||||||
endmenu
|
|
||||||
|
|
||||||
Index: linux-2.6.23/arch/mips/Makefile
|
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.23.orig/arch/mips/Makefile 2007-10-16 22:12:21.000000000 +0200
|
--- linux-2.6.25.orig/arch/mips/Makefile 2008-05-05 08:35:35.000000000 +0100
|
||||||
+++ linux-2.6.23/arch/mips/Makefile 2007-10-16 22:12:21.000000000 +0200
|
+++ linux-2.6.25/arch/mips/Makefile 2008-05-05 08:35:46.000000000 +0100
|
||||||
@@ -276,6 +276,13 @@
|
@@ -282,6 +282,13 @@
|
||||||
cflags-$(CONFIG_MIPS_COBALT) += -Iinclude/asm-mips/mach-cobalt
|
cflags-$(CONFIG_MIPS_COBALT) += -Iinclude/asm-mips/mach-cobalt
|
||||||
load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
|
load-$(CONFIG_MIPS_COBALT) += 0xffffffff80080000
|
||||||
|
|
||||||
+#
|
+#
|
||||||
+# Infineon IFXMIPS
|
+# Infineon IFXMIPS
|
||||||
+#
|
+#
|
||||||
+core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
|
+core-$(CONFIG_IFXMIPS) += arch/mips/ifxmips/
|
||||||
+cflags-$(CONFIG_IFXMIPS) += -Iinclude/asm-mips/mach-ifxmips
|
+cflags-$(CONFIG_IFXMIPS) += -Iinclude/asm-mips/mach-ifxmips
|
||||||
+load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
|
+load-$(CONFIG_IFXMIPS) += 0xffffffff80002000
|
||||||
+
|
+
|
||||||
#
|
#
|
||||||
# DECstation family
|
# DECstation family
|
||||||
#
|
#
|
||||||
Index: linux-2.6.23/include/asm-mips/bootinfo.h
|
Index: linux-2.6.25/include/asm-mips/bootinfo.h
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.23.orig/include/asm-mips/bootinfo.h 2007-10-16 22:12:19.000000000 +0200
|
--- linux-2.6.25.orig/include/asm-mips/bootinfo.h 2008-05-05 08:35:35.000000000 +0100
|
||||||
+++ linux-2.6.23/include/asm-mips/bootinfo.h 2007-10-16 22:12:21.000000000 +0200
|
+++ linux-2.6.25/include/asm-mips/bootinfo.h 2008-05-05 08:35:46.000000000 +0100
|
||||||
@@ -208,6 +208,13 @@
|
@@ -94,6 +94,12 @@
|
||||||
#define MACH_GROUP_WINDRIVER 28 /* Windriver boards */
|
#define MACH_MSP7120_FPGA 5 /* PMC-Sierra MSP7120 Emulation */
|
||||||
#define MACH_WRPPMC 1
|
#define MACH_MSP_OTHER 255 /* PMC-Sierra unknown board type */
|
||||||
|
|
||||||
+/*
|
+/*
|
||||||
+ * Valid machtype for group ATHEROS
|
+ * Valid machtype for group IFXMIPS
|
||||||
+ */
|
+ */
|
||||||
+#define MACH_GROUP_IFXMIPS 29
|
+#define MACH_GROUP_IFXMIPS 29
|
||||||
+#define MACH_INFINEON_IFXMIPS 0
|
+#define MACH_INFINEON_IFXMIPS 0
|
||||||
+
|
|
||||||
+
|
+
|
||||||
#define CL_SIZE COMMAND_LINE_SIZE
|
#define CL_SIZE COMMAND_LINE_SIZE
|
||||||
|
|
||||||
const char *get_system_type(void);
|
extern char *system_type;
|
||||||
|
@ -1,15 +1,16 @@
|
|||||||
Index: linux-2.6.23/drivers/mtd/chips/cfi_cmdset_0002.c
|
Index: linux-2.6.25/drivers/mtd/chips/cfi_cmdset_0002.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- linux-2.6.23.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2007-11-02 23:02:29.000000000 +0100
|
--- linux-2.6.25.orig/drivers/mtd/chips/cfi_cmdset_0002.c 2008-05-07 18:58:41.000000000 +0100
|
||||||
+++ linux-2.6.23/drivers/mtd/chips/cfi_cmdset_0002.c 2007-11-02 23:07:15.000000000 +0100
|
+++ linux-2.6.25/drivers/mtd/chips/cfi_cmdset_0002.c 2008-05-07 18:58:42.000000000 +0100
|
||||||
@@ -1007,7 +1007,9 @@
|
@@ -1015,7 +1015,9 @@
|
||||||
int ret = 0;
|
|
||||||
map_word oldd;
|
|
||||||
int retry_cnt = 0;
|
int retry_cnt = 0;
|
||||||
|
|
||||||
|
adr += chip->start;
|
||||||
-
|
-
|
||||||
+#ifdef CONFIG_IFXMIPS
|
+#ifdef CONFIG_IFXMIPS
|
||||||
+ adr ^= 2;
|
+ adr ^= 2;
|
||||||
+#endif
|
+#endif
|
||||||
adr += chip->start;
|
|
||||||
|
|
||||||
spin_lock(chip->mutex);
|
spin_lock(chip->mutex);
|
||||||
|
ret = get_chip(map, chip, adr, FL_WRITING);
|
||||||
|
if (ret) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue