diff options
author | Nicolas Thill <nico@openwrt.org> | 2007-08-18 14:50:00 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2007-08-18 14:50:00 +0000 |
commit | d8015884ca3ae5b9d2b3d5f50a366c24b56bed46 (patch) | |
tree | 188f01402de0c8f9eebc400704718ef5522af341 /target | |
parent | 956f36dfbaa4c4125ff1f7af2379ddc75047deb7 (diff) | |
download | master-187ad058-d8015884ca3ae5b9d2b3d5f50a366c24b56bed46.tar.gz master-187ad058-d8015884ca3ae5b9d2b3d5f50a366c24b56bed46.tar.bz2 master-187ad058-d8015884ca3ae5b9d2b3d5f50a366c24b56bed46.zip |
remove useless code from board support (closes: #2164, thanks to Matteo Croce)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8421 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ar7-2.6/patches-2.6.22/100-board_support.patch | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/target/linux/ar7-2.6/patches-2.6.22/100-board_support.patch b/target/linux/ar7-2.6/patches-2.6.22/100-board_support.patch index 0ab93b6caa..5989580ee8 100644 --- a/target/linux/ar7-2.6/patches-2.6.22/100-board_support.patch +++ b/target/linux/ar7-2.6/patches-2.6.22/100-board_support.patch @@ -1,7 +1,7 @@ diff -urN linux-2.6.22/arch/mips/Kconfig linux-2.6.22.new/arch/mips/Kconfig --- linux-2.6.22/arch/mips/Kconfig 2007-07-09 01:32:17.000000000 +0200 +++ linux-2.6.22.new/arch/mips/Kconfig 2007-07-11 02:34:51.000000000 +0200 -@@ -15,6 +15,21 @@ +@@ -15,6 +15,20 @@ prompt "System type" default SGI_IP22 @@ -18,41 +18,10 @@ diff -urN linux-2.6.22/arch/mips/Kconfig linux-2.6.22.new/arch/mips/Kconfig + select SYS_SUPPORTS_KGDB + select SYS_SUPPORTS_LITTLE_ENDIAN + select GENERIC_GPIO -+ select ZONE_DMA + config MACH_ALCHEMY bool "Alchemy processor based machines" -diff -urN linux-2.6.22/arch/mips/kernel/setup.c linux-2.6.22.new/arch/mips/kernel/setup.c --- linux-2.6.22/arch/mips/kernel/setup.c 2007-07-09 01:32:17.000000000 +0200 -+++ linux-2.6.22.new/arch/mips/kernel/setup.c 2007-07-11 02:32:39.000000000 +0200 -@@ -258,7 +258,7 @@ - * Initialize the bootmem allocator. It also setup initrd related data - * if needed. - */ --#ifdef CONFIG_SGI_IP27 -+#ifdef CONFIG_NEED_MULTIPLE_NODES - - static void __init bootmem_init(void) - { -@@ -266,7 +266,7 @@ - finalize_initrd(); - } - --#else /* !CONFIG_SGI_IP27 */ -+#else /* !CONFIG_NEED_MULTIPLE_NODES */ - - static void __init bootmem_init(void) - { -@@ -392,7 +392,7 @@ - finalize_initrd(); - } - --#endif /* CONFIG_SGI_IP27 */ -+#endif /* CONFIG_NEED_MULTIPLE_NODES */ - - /* - * arch_mem_init - initialize memory managment subsystem diff -urN linux-2.6.22/arch/mips/kernel/traps.c linux-2.6.22.new/arch/mips/kernel/traps.c --- linux-2.6.22/arch/mips/kernel/traps.c 2007-07-09 01:32:17.000000000 +0200 +++ linux-2.6.22.new/arch/mips/kernel/traps.c 2007-07-11 02:32:39.000000000 +0200 |