📄 1000.tangox.patch
字号:
+# CONFIG_NFS_V3_ACL is not set+# CONFIG_NFS_V4 is not set+# CONFIG_NFS_DIRECTIO is not set+# CONFIG_NFSD is not set+CONFIG_LOCKD=y+CONFIG_LOCKD_V4=y+CONFIG_NFS_COMMON=y+CONFIG_SUNRPC=y+# CONFIG_RPCSEC_GSS_KRB5 is not set+# CONFIG_RPCSEC_GSS_SPKM3 is not set+# CONFIG_SMB_FS is not set+# CONFIG_CIFS is not set+# CONFIG_NCP_FS is not set+# CONFIG_CODA_FS is not set+# CONFIG_AFS_FS is not set+# CONFIG_9P_FS is not set++#+# Partition Types+#+# CONFIG_PARTITION_ADVANCED is not set+CONFIG_MSDOS_PARTITION=y++#+# Native Language Support+#+CONFIG_NLS=y+CONFIG_NLS_DEFAULT="iso8859-1"+CONFIG_NLS_CODEPAGE_437=y+# CONFIG_NLS_CODEPAGE_737 is not set+# CONFIG_NLS_CODEPAGE_775 is not set+# CONFIG_NLS_CODEPAGE_850 is not set+# CONFIG_NLS_CODEPAGE_852 is not set+# CONFIG_NLS_CODEPAGE_855 is not set+# CONFIG_NLS_CODEPAGE_857 is not set+# CONFIG_NLS_CODEPAGE_860 is not set+# CONFIG_NLS_CODEPAGE_861 is not set+# CONFIG_NLS_CODEPAGE_862 is not set+# CONFIG_NLS_CODEPAGE_863 is not set+# CONFIG_NLS_CODEPAGE_864 is not set+# CONFIG_NLS_CODEPAGE_865 is not set+# CONFIG_NLS_CODEPAGE_866 is not set+# CONFIG_NLS_CODEPAGE_869 is not set+# CONFIG_NLS_CODEPAGE_936 is not set+# CONFIG_NLS_CODEPAGE_950 is not set+# CONFIG_NLS_CODEPAGE_932 is not set+# CONFIG_NLS_CODEPAGE_949 is not set+# CONFIG_NLS_CODEPAGE_874 is not set+# CONFIG_NLS_ISO8859_8 is not set+# CONFIG_NLS_CODEPAGE_1250 is not set+# CONFIG_NLS_CODEPAGE_1251 is not set+# CONFIG_NLS_ASCII is not set+CONFIG_NLS_ISO8859_1=y+# CONFIG_NLS_ISO8859_2 is not set+# CONFIG_NLS_ISO8859_3 is not set+# CONFIG_NLS_ISO8859_4 is not set+# CONFIG_NLS_ISO8859_5 is not set+# CONFIG_NLS_ISO8859_6 is not set+# CONFIG_NLS_ISO8859_7 is not set+# CONFIG_NLS_ISO8859_9 is not set+# CONFIG_NLS_ISO8859_13 is not set+# CONFIG_NLS_ISO8859_14 is not set+# CONFIG_NLS_ISO8859_15 is not set+# CONFIG_NLS_KOI8_R is not set+# CONFIG_NLS_KOI8_U is not set+# CONFIG_NLS_UTF8 is not set++#+# Profiling support+#+# CONFIG_PROFILING is not set++#+# Kernel hacking+#+# CONFIG_PRINTK_TIME is not set+# CONFIG_DEBUG_KERNEL is not set+CONFIG_LOG_BUF_SHIFT=14+CONFIG_CROSSCOMPILE=y+CONFIG_CMDLINE="console=ttyS0"++#+# Security options+#+# CONFIG_KEYS is not set+# CONFIG_SECURITY is not set++#+# Cryptographic options+#+# CONFIG_CRYPTO is not set++#+# Hardware crypto devices+#++#+# Library routines+#+# CONFIG_CRC_CCITT is not set+# CONFIG_CRC16 is not set+CONFIG_CRC32=y+# CONFIG_LIBCRC32C is not set+CONFIG_ZLIB_INFLATE=ydiff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/Kconfig linux-2.6.15/arch/mips/Kconfig--- linux-2.6.15.ref/arch/mips/Kconfig 2006-01-25 20:51:09.000000000 -0800+++ linux-2.6.15/arch/mips/Kconfig 2007-07-05 15:25:36.000000000 -0700@@ -724,6 +724,40 @@ Technology and now in turn merged with Fujitsu. Say Y here to support this machine type. +config TANGO2+ bool "Support for SigmaDesigns Tango2 board"+ select TANGOX+ select TANGO2_SMP863X+ select DMA_NONCOHERENT+ select SYS_SUPPORTS_32BIT_KERNEL+ select SYS_SUPPORTS_LITTLE_ENDIAN+ select SYS_HAS_CPU_MIPS32_R1+ select SYS_HAS_CPU_MIPS32_R2+ select IRQ_CPU+ select OWN_DMA+ select DMA_TANGOX+ select DMA_NONCOHERENT+ help+ Add support for Sigma Designs SMP863x board. Say Y here to+ support this machine type.++config TANGO3+ bool "Support for SigmaDesigns Tango3 board"+ select TANGOX+ select TANGO3_SMP865X+ select DMA_NONCOHERENT+ select SYS_SUPPORTS_32BIT_KERNEL+ select SYS_SUPPORTS_LITTLE_ENDIAN+ select SYS_HAS_CPU_MIPS32_R1+ select SYS_HAS_CPU_MIPS32_R2+ select IRQ_CPU+ select OWN_DMA+ select DMA_TANGOX+ select DMA_NONCOHERENT+ help+ Add support for Sigma Designs SMP865x board. Say Y here to+ support this machine type.+ config TOSHIBA_JMR3927 bool "Support for Toshiba JMR-TX3927 board" select DMA_NONCOHERENT@@ -782,6 +816,7 @@ source "arch/mips/pmc-sierra/Kconfig" source "arch/mips/sgi-ip27/Kconfig" source "arch/mips/sibyte/Kconfig"+source "arch/mips/tangox/Kconfig" source "arch/mips/tx4927/Kconfig" source "arch/mips/tx4938/Kconfig" source "arch/mips/vr41xx/Kconfig"@@ -819,6 +854,13 @@ bool select DMA_NEED_PCI_MAP_STATE +config TANGOX+ bool ++config DMA_TANGOX+ bool+ select DMA_NEED_PCI_MAP_STATE+ config DMA_NONCOHERENT bool select DMA_NEED_PCI_MAP_STATE@@ -1009,6 +1051,8 @@ config MIPS_L1_CACHE_SHIFT int default "4" if MACH_DECSTATION+ default "4" if TANGO2+ default "5" if TANGO3 default "7" if SGI_IP27 default "5" diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/kernel/cpu-probe.c linux-2.6.15/arch/mips/kernel/cpu-probe.c--- linux-2.6.15.ref/arch/mips/kernel/cpu-probe.c 2006-01-25 20:51:10.000000000 -0800+++ linux-2.6.15/arch/mips/kernel/cpu-probe.c 2007-07-05 15:25:36.000000000 -0700@@ -504,7 +504,9 @@ if (config1 & MIPS_CONF1_EP) c->options |= MIPS_CPU_EJTAG; if (config1 & MIPS_CONF1_FP) {+#ifndef CONFIG_TANGO3_DISABLE_HWFPU c->options |= MIPS_CPU_FPU;+#endif c->options |= MIPS_CPU_32FPR; } if (cpu_has_tlb)diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/kernel/head.S linux-2.6.15/arch/mips/kernel/head.S--- linux-2.6.15.ref/arch/mips/kernel/head.S 2006-01-25 20:51:10.000000000 -0800+++ linux-2.6.15/arch/mips/kernel/head.S 2007-07-05 15:25:36.000000000 -0700@@ -116,7 +116,7 @@ EXPORT(stext) # used for profiling EXPORT(_stext) -#if defined(CONFIG_QEMU) || defined(CONFIG_MIPS_SIM)+#if defined(CONFIG_QEMU) || defined(CONFIG_MIPS_SIM) || defined(CONFIG_TANGOX) /* * Give us a fighting chance of running if execution beings at the * kernel load address. This is needed because this platform doesdiff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/kernel/setup.c linux-2.6.15/arch/mips/kernel/setup.c--- linux-2.6.15.ref/arch/mips/kernel/setup.c 2006-01-25 20:51:10.000000000 -0800+++ linux-2.6.15/arch/mips/kernel/setup.c 2007-07-05 15:25:36.000000000 -0700@@ -43,6 +43,16 @@ #include <asm/setup.h> #include <asm/system.h> +#ifdef CONFIG_TANGO2+#include <asm/tango2/rmdefs.h>+#include <asm/tango2/memcfg.h>+#include <asm/tango2/tango2.h>+#elif defined(CONFIG_TANGO3)+#include <asm/tango3/rmdefs.h>+#include <asm/tango3/memcfg.h>+#include <asm/tango3/tango3.h>+#endif+ struct cpuinfo_mips cpu_data[NR_CPUS] __read_mostly; EXPORT_SYMBOL(cpu_data);@@ -150,6 +160,11 @@ int len = 0; int usermem = 0; +#ifdef CONFIG_TANGOX+ extern unsigned long em8xxx_kmem_start;+ extern unsigned long em8xxx_kmem_size;+#endif+ printk("Determined physical RAM map:\n"); print_memory_map(); @@ -175,9 +190,34 @@ mem_size = memparse(from + 4, &from); if (*from == '@') start_at = memparse(from + 1, &from);- else+ else {+#ifdef CONFIG_TANGOX+ start_at = CPHYSADDR(em8xxx_kmem_start);+#else start_at = 0;+#endif+ }++ +#ifdef CONFIG_TANGOX+ if (start_at == CPHYSADDR(em8xxx_kmem_start)) {+ unsigned long em8xxx_kmem_end;+ memcfg_t *m = (memcfg_t *)KSEG1ADDR(MEM_BASE_dram_controller_0_alias + FM_MEMCFG);++ em8xxx_kmem_size = ((mem_size + em8xxx_kmem_start) & 0xfff00000) - em8xxx_kmem_start;+ add_memory_region(start_at, em8xxx_kmem_size, BOOT_MEM_RAM);++ em8xxx_kmem_end = KSEG1ADDR(em8xxx_kmem_start + em8xxx_kmem_size) -+ KSEG1ADDR(MEM_BASE_dram_controller_0_alias);+ m->kernel_end = em8xxx_kmem_end;+ gen_memcfg_checksum(m);+ } else {+ /* We just add this blindly as the alignment can be wrong, use it as own risk */+ add_memory_region(start_at, mem_size, BOOT_MEM_RAM);+ }+#else add_memory_region(start_at, mem_size, BOOT_MEM_RAM);+#endif } c = *(from++); if (!c)diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/kernel/time.c linux-2.6.15/arch/mips/kernel/time.c--- linux-2.6.15.ref/arch/mips/kernel/time.c 2006-01-25 20:51:10.000000000 -0800+++ linux-2.6.15/arch/mips/kernel/time.c 2007-07-05 15:25:36.000000000 -0700@@ -33,6 +33,18 @@ #include <asm/div64.h> #include <asm/sections.h> #include <asm/time.h>+ +#ifdef CONFIG_TANGO2+#include <asm/tango2/tango2.h>+#include <asm/tango2/tango2_gbus.h>+#include <asm/tango2/emhwlib_lram.h>+#include <asm/tango2/emhwlib_registers_tango2.h>+#elif defined(CONFIG_TANGO3)+#include <asm/tango3/tango3.h>+#include <asm/tango3/tango3_gbus.h>+#include <asm/tango3/emhwlib_lram.h>+#include <asm/tango3/emhwlib_registers_tango3.h>+#endif /* * The integer part of the number of usecs per jiffy is taken from tick,@@ -423,6 +435,38 @@ unsigned long j; unsigned int count; +#ifdef CONFIG_TANGOX+#ifndef CONFIG_TANGOX_FIXED_FREQUENCIES+ static int active = 0;+ static long drift = 0;+ static unsigned long old_xtal = 0;+ long diff;+ unsigned long xtal;+#endif++ if ((jiffies % HZ) == 0) { /* Update CPU heart beat conunter per second */+ gbus_write_uint32(pGBus, REG_BASE_cpu_block + LR_HB_CPU, + gbus_read_uint32(pGBus, REG_BASE_cpu_block + LR_HB_CPU) + 1);+ }++#ifndef CONFIG_TANGOX_FIXED_FREQUENCIES+ /* calibrate jiffies against xtal_in_cnt */+ xtal = gbus_read_uint32(pGBus, REG_BASE_system_block + SYS_xtal_in_cnt);+ if (active) {+ int cnt;+ diff = (long)((xtal <= old_xtal) ? ((0xffffffff - old_xtal) + xtal + 1) : (xtal - old_xtal));+ drift += (diff - (TANGOX_BASE_FREQUENCY / HZ));+ if ((cnt = drift / (TANGOX_BASE_FREQUENCY / HZ))) {+ jiffies_64 += cnt;+ drift %= (TANGOX_BASE_FREQUENCY / HZ);+// printk("Compensate drifting %d: 0x%08lx..\n", cnt, jiffies);+ }+ } else + active = 1;+ old_xtal = xtal;+#endif+#endif+ count = mips_hpt_read(); mips_timer_ack(); diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/kernel/traps.c linux-2.6.15/arch/mips/kernel/traps.c--- linux-2.6.15.ref/arch/mips/kernel/traps.c 2006-01-25 20:51:10.000000000 -0800+++ linux-2.6.15/arch/mips/kernel/traps.c 2007-07-05 15:25:36.000000000 -0700@@ -42,6 +42,14 @@ #include <asm/watch.h> #include <asm/types.h> +#ifdef CONFIG_TANGO2+#include <asm/tango2/emhwlib_registers_tango2.h>+#include <asm/tango2/emhwlib_dram_tango2.h>+#elif defined(CONFIG_TANGO3)+#include <asm/tango3/emhwlib_registers_tango3.h>+#include <asm/tango3/emhwlib_dram_tango2.h>+#endif+ extern asmlinkage void handle_tlbm(void); extern asmlinkage void handle_tlbl(void); extern asmlinkage void handle_tlbs(void);@@ -1223,7 +1231,6 @@ #ifdef CONFIG_64BIT unsigned long uncached_ebase = TO_UNCAC(ebase); #endif- memcpy((void *)(uncached_ebase + offset), addr, size); } @@ -1238,6 +1245,11 @@ else ebase = CAC_BASE; +#ifdef CONFIG_TANGOX+ ebase = KSEG0ADDR(MEM_BASE_dram_controller_0_alias + FM_RESERVED);+ write_c0_ebase(ebase);+#endif+ #ifdef CONFIG_CPU_MIPSR2 mips_srs_init(); #endif@@ -1344,6 +1356,15 @@ if (cpu_has_dsp) set_except_vector(26, handle_dsp); +#ifdef CONFIG_TANGOX+ if (cpu_has_vce)+ /* Special exception: R4[04]00 uses also the divec space. */+ memcpy((void *)(ebase + 0x180), &except_vec3_r4000, 0x100);+ else if (cpu_has_4kex)+ memcpy((void *)(ebase + 0x180), &except_vec3_generic, 0x80);+ else+ memcpy((void *)(ebase + 0x080), &except_vec3_generic, 0x80);+#else if (cpu_has_vce) /* Special exception: R4[04]00 uses also the divec space. */ memcpy((void *)(CAC_BASE + 0x180), &except_vec3_r4000, 0x100);@@ -1351,6 +1372,7 @@ memcpy((void *)(CAC_BASE + 0x180), &except_vec3_generic, 0x80); else memcpy((void *)(CAC_BASE + 0x080), &except_vec3_generic, 0x80);+#endif signal_init(); #ifdef CONFIG_MIPS32_COMPATdiff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/lib/iomap.c linux-2.6.15/arch/mips/lib/iomap.c--- linux-2.6.15.ref/arch/mips/lib/iomap.c 1969-12-31 16:00:00.000000000 -0800+++ linux-2.6.15/arch/mips/lib/iomap.c 2007-07-05 15:25:36.000000000 -0700@@ -0,0 +1,78 @@+/*+ * iomap.c, Memory Mapped I/O routines for MIPS architecture.+ *+ * This code is based on lib/iomap.c, by Linus Torvalds.+ *+ * Copyright (C) 2004-2005 Yoichi Yuasa <yuasa@hh.iij4u.or.jp>+ *+ * This program is free software; you can redistribute it and/or modify+ * it under the terms of the GNU General Public License as published by+ * the Free Software Foundation; either version 2 of the License, or+ * (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU General Public License for more details.+ *+ * You should have received a copy of the GNU General Public License+ * along with this program; if not, write to the Free Software+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA+ */+#include <linux/ioport.h>+#include <linux/module.h>+#include <linux/pci.h>++#include <asm/io.h>++void __iomem *ioport_map(unsigned long port, unsigned int nr)+{+ unsigned long end;++ end = port + nr - 1UL;+ if (ioport_resource.start > port ||+ ioport_resource.end < end || port > end)+ return NULL;++ return (void __iomem *)(mips_io_port_base + port);+}++void ioport_unmap(void __iomem *addr)+{+}+EXPORT_SYMBOL(ioport_map);+EXPORT_SYMBOL(ioport_unmap);++void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen)+{+ unsigned long start, len, flags;++ if (dev == NULL)+ return NULL;++ start = pci_resource_start(dev, bar);+ len = pci_resource_len(dev, bar);+ if (!start || !len)+ return NULL;++ if (maxlen != 0 && len > maxlen)+ len = maxlen;++ flags = pci_resource_flags(dev, bar);+ if (flags & IORESOURCE_IO)+ return ioport_map(start, len);+ if (flags & IORESOURCE_MEM) {+ if (flags & IORESOURCE_CACHEABLE)+ return ioremap_cacheable_cow(start, len);+ return ioremap_nocache(start, len);+ }++ return NULL;+}++void pci_iounmap(struct pci_dev *dev, void __iomem *addr)+{+ iounmap(addr);+}+EXPORT_SYMBOL(pci_iomap);+EXPORT_SYMBOL(pci_iounmap);diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/lib/Makefile linux-2.6.15/arch/mips/lib/Makefile--- linux-2.6.15.ref/arch/mips/lib/Makefile 2006-01-25 20:51:10.000000000 -0800+++ linux-2.6.15/arch/mips/lib/Makefile 2007-07-05 15:25:36.000000000 -0700@@ -3,6 +3,6 @@ # lib-y += csum_partial_copy.o memcpy.o promlib.o strlen_user.o strncpy_user.o \- strnlen_user.o uncached.o+ strnlen_user.o uncached.o iomap.o EXTRA_AFLAGS := $(CFLAGS)diff -Naur --exclude=CVS --exclude='*.o' --exclude='*.a' --exclude='*.so' --exclude='*.elf' --exclude=System.map --exclude=Makefile.d --exclude='*log' --exclude='*log2' --exclude='*~' --exclude='.*~' --exclude='.#*' --exclude='*.bak' --exclude='*.orig' --exclude='*.rej' --exclude='core.[0-9]*' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=.depend --exclude='.*.o.flags' --exclude='*.gz' --exclude=vmlinux --exclude=vmlinux.bin --exclude=yamon-02.06-SIGMADESIGNS-01_el.bin linux-2.6.15.ref/arch/mips/Makefile linux-2.6.15/arch/mips/Makefile--- linux-2.6.15.ref/arch/mips/Makefile 2006-01-25 20:51:09.000000000 -0800+++ linux-2.6.15/arch/mips/Makefile 2007-07-05 15:27:01.000000000 -0700@@ -696,6 +696,72 @@ cflags-$(CONFIG_SNI_RM200_PCI) += -Iinclude/asm-mips/mach-rm200 load-$(CONFIG_SNI_RM200_PCI) += 0xffffffff80600000 +ifdef CONFIG_TANGO2+#+# Tango2 board+#+include include/asm-mips/tango2/emhwlib_registers_tango2.inc+include include/asm-mips/tango2/emhwlib_dram_tango2.inc+else+ifdef CONFIG_TANGO3+#+# Tango3 board+#+include include/asm-mips/tango3/emhwlib_registers_tango3.inc+include include/asm-mips/tango3/emhwlib_dram_tango2.inc+endif+endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -