summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-09-10 18:30:20 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-09-10 18:30:20 +0000
commit47c0d7419fb1decd5610b1a1347c16368501df0d (patch)
tree27f4b920768aab0fd7e730d52cb3fd5f1a23315c /target
parent967cc718f897f043cd441660e4ae25907838470e (diff)
downloadmtk-20170518-47c0d7419fb1decd5610b1a1347c16368501df0d.zip
mtk-20170518-47c0d7419fb1decd5610b1a1347c16368501df0d.tar.gz
mtk-20170518-47c0d7419fb1decd5610b1a1347c16368501df0d.tar.bz2
kernel: get rid of the simple_prom_emulator, it is not really useful
SVN-Revision: 17567
Diffstat (limited to 'target')
-rw-r--r--target/linux/adm5120/router_be/config-2.6.281
-rw-r--r--target/linux/adm5120/router_be/config-2.6.301
-rw-r--r--target/linux/adm5120/router_le/config-2.6.281
-rw-r--r--target/linux/adm5120/router_le/config-2.6.301
-rw-r--r--target/linux/ar7/config-2.6.271
-rw-r--r--target/linux/ar7/config-default2
-rw-r--r--target/linux/ar71xx/config-2.6.281
-rw-r--r--target/linux/ar71xx/config-2.6.301
-rw-r--r--target/linux/ar71xx/config-2.6.311
-rw-r--r--target/linux/ar71xx/patches-2.6.28/301-enable_prom_emulator.patch10
-rw-r--r--target/linux/ar71xx/patches-2.6.30/301-enable_prom_emulator.patch10
-rw-r--r--target/linux/ar71xx/patches-2.6.31/301-enable_prom_emulator.patch10
-rw-r--r--target/linux/atheros/config-2.6.281
-rw-r--r--target/linux/atheros/config-2.6.301
-rw-r--r--target/linux/au1000/au1500/config-default1
-rw-r--r--target/linux/brcm47xx/config-2.6.281
-rw-r--r--target/linux/brcm47xx/config-2.6.301
-rw-r--r--target/linux/brcm63xx/config-2.6.271
-rw-r--r--target/linux/brcm63xx/config-2.6.281
-rw-r--r--target/linux/brcm63xx/config-2.6.301
-rw-r--r--target/linux/cobalt/config-default1
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/021-mips_simple_prom_emulator.patch50
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/021-mips_simple_prom_emulator.patch50
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/021-mips_simple_prom_emulator.patch50
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/021-mips_simple_prom_emulator.patch50
-rw-r--r--target/linux/ifxmips/config-2.6.271
-rw-r--r--target/linux/ifxmips/config-2.6.281
-rw-r--r--target/linux/octeon/config-default2
-rw-r--r--target/linux/ramips/rt288x/config-2.6.301
-rw-r--r--target/linux/ramips/rt305x/config-2.6.301
-rw-r--r--target/linux/rb532/config-default1
31 files changed, 2 insertions, 254 deletions
diff --git a/target/linux/adm5120/router_be/config-2.6.28 b/target/linux/adm5120/router_be/config-2.6.28
index 4cbb744..bff855d 100644
--- a/target/linux/adm5120/router_be/config-2.6.28
+++ b/target/linux/adm5120/router_be/config-2.6.28
@@ -149,7 +149,6 @@ CONFIG_PCI_DOMAINS=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250 is not set
diff --git a/target/linux/adm5120/router_be/config-2.6.30 b/target/linux/adm5120/router_be/config-2.6.30
index 825ae75..6635077 100644
--- a/target/linux/adm5120/router_be/config-2.6.30
+++ b/target/linux/adm5120/router_be/config-2.6.30
@@ -162,7 +162,6 @@ CONFIG_PCI_DOMAINS=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250 is not set
diff --git a/target/linux/adm5120/router_le/config-2.6.28 b/target/linux/adm5120/router_le/config-2.6.28
index 3bd82df..24c0f8d 100644
--- a/target/linux/adm5120/router_le/config-2.6.28
+++ b/target/linux/adm5120/router_le/config-2.6.28
@@ -185,7 +185,6 @@ CONFIG_PCI_DOMAINS=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
# CONFIG_R6040 is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
CONFIG_SCSI=m
diff --git a/target/linux/adm5120/router_le/config-2.6.30 b/target/linux/adm5120/router_le/config-2.6.30
index 519c7d6..538fed0 100644
--- a/target/linux/adm5120/router_le/config-2.6.30
+++ b/target/linux/adm5120/router_le/config-2.6.30
@@ -201,7 +201,6 @@ CONFIG_PCI_DOMAINS=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_SCSI=m
# CONFIG_SERIAL_8250 is not set
diff --git a/target/linux/ar7/config-2.6.27 b/target/linux/ar7/config-2.6.27
index 6f419ca..5c5ebba 100644
--- a/target/linux/ar7/config-2.6.27
+++ b/target/linux/ar7/config-2.6.27
@@ -115,7 +115,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_EXTENDED is not set
diff --git a/target/linux/ar7/config-default b/target/linux/ar7/config-default
index f8c6f3c..e47a151 100644
--- a/target/linux/ar7/config-default
+++ b/target/linux/ar7/config-default
@@ -116,7 +116,7 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
+
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_EXTENDED is not set
diff --git a/target/linux/ar71xx/config-2.6.28 b/target/linux/ar71xx/config-2.6.28
index aab637e..539396f 100644
--- a/target/linux/ar71xx/config-2.6.28
+++ b/target/linux/ar71xx/config-2.6.28
@@ -162,7 +162,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-CONFIG_PROM_EMU=y
# CONFIG_R6040 is not set
CONFIG_RTL8306_PHY=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
diff --git a/target/linux/ar71xx/config-2.6.30 b/target/linux/ar71xx/config-2.6.30
index d717c3c..cac69a5 100644
--- a/target/linux/ar71xx/config-2.6.30
+++ b/target/linux/ar71xx/config-2.6.30
@@ -172,7 +172,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-CONFIG_PROM_EMU=y
CONFIG_RTL8306_PHY=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
diff --git a/target/linux/ar71xx/config-2.6.31 b/target/linux/ar71xx/config-2.6.31
index eb70f1b..579f48a 100644
--- a/target/linux/ar71xx/config-2.6.31
+++ b/target/linux/ar71xx/config-2.6.31
@@ -173,7 +173,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-CONFIG_PROM_EMU=y
CONFIG_RTL8306_PHY=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
diff --git a/target/linux/ar71xx/patches-2.6.28/301-enable_prom_emulator.patch b/target/linux/ar71xx/patches-2.6.28/301-enable_prom_emulator.patch
deleted file mode 100644
index 5ed8046..0000000
--- a/target/linux/ar71xx/patches-2.6.28/301-enable_prom_emulator.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -36,6 +36,7 @@ config ATHEROS_AR71XX
- select SYS_SUPPORTS_BIG_ENDIAN
- select SYS_HAS_EARLY_PRINTK
- select MIPS_MACHINE
-+ select PROM_EMU
- help
- Support for Atheros AR71xx based boards.
-
diff --git a/target/linux/ar71xx/patches-2.6.30/301-enable_prom_emulator.patch b/target/linux/ar71xx/patches-2.6.30/301-enable_prom_emulator.patch
deleted file mode 100644
index 5ed8046..0000000
--- a/target/linux/ar71xx/patches-2.6.30/301-enable_prom_emulator.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -36,6 +36,7 @@ config ATHEROS_AR71XX
- select SYS_SUPPORTS_BIG_ENDIAN
- select SYS_HAS_EARLY_PRINTK
- select MIPS_MACHINE
-+ select PROM_EMU
- help
- Support for Atheros AR71xx based boards.
-
diff --git a/target/linux/ar71xx/patches-2.6.31/301-enable_prom_emulator.patch b/target/linux/ar71xx/patches-2.6.31/301-enable_prom_emulator.patch
deleted file mode 100644
index 8b1609b..0000000
--- a/target/linux/ar71xx/patches-2.6.31/301-enable_prom_emulator.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -56,6 +56,7 @@ config ATHEROS_AR71XX
- select SYS_SUPPORTS_BIG_ENDIAN
- select SYS_HAS_EARLY_PRINTK
- select MIPS_MACHINE
-+ select PROM_EMU
- help
- Support for Atheros AR71xx based boards.
-
diff --git a/target/linux/atheros/config-2.6.28 b/target/linux/atheros/config-2.6.28
index 888b7f4..03f44f9 100644
--- a/target/linux/atheros/config-2.6.28
+++ b/target/linux/atheros/config-2.6.28
@@ -124,7 +124,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_EXTENDED is not set
diff --git a/target/linux/atheros/config-2.6.30 b/target/linux/atheros/config-2.6.30
index 11fc022..c5730b5 100644
--- a/target/linux/atheros/config-2.6.30
+++ b/target/linux/atheros/config-2.6.30
@@ -134,7 +134,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_EXTENDED is not set
diff --git a/target/linux/au1000/au1500/config-default b/target/linux/au1000/au1500/config-default
index e56e533..1c22769 100644
--- a/target/linux/au1000/au1500/config-default
+++ b/target/linux/au1000/au1500/config-default
@@ -153,7 +153,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
CONFIG_SERIAL_8250_AU1X00=y
diff --git a/target/linux/brcm47xx/config-2.6.28 b/target/linux/brcm47xx/config-2.6.28
index 91920c7..581ef65 100644
--- a/target/linux/brcm47xx/config-2.6.28
+++ b/target/linux/brcm47xx/config-2.6.28
@@ -120,7 +120,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
# CONFIG_PROC_KCORE is not set
-# CONFIG_PROM_EMU is not set
# CONFIG_R6040 is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
diff --git a/target/linux/brcm47xx/config-2.6.30 b/target/linux/brcm47xx/config-2.6.30
index 77c42b6..377485a 100644
--- a/target/linux/brcm47xx/config-2.6.30
+++ b/target/linux/brcm47xx/config-2.6.30
@@ -130,7 +130,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
# CONFIG_PROC_KCORE is not set
-# CONFIG_PROM_EMU is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
diff --git a/target/linux/brcm63xx/config-2.6.27 b/target/linux/brcm63xx/config-2.6.27
index 7264d7f..a947c1b 100644
--- a/target/linux/brcm63xx/config-2.6.27
+++ b/target/linux/brcm63xx/config-2.6.27
@@ -158,7 +158,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_STB810 is not set
CONFIG_POSIX_MQUEUE=y
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
# CONFIG_R6040 is not set
CONFIG_RELAY=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
diff --git a/target/linux/brcm63xx/config-2.6.28 b/target/linux/brcm63xx/config-2.6.28
index 97df382..c405f9f 100644
--- a/target/linux/brcm63xx/config-2.6.28
+++ b/target/linux/brcm63xx/config-2.6.28
@@ -155,7 +155,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_STB810 is not set
CONFIG_POSIX_MQUEUE=y
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
# CONFIG_R6040 is not set
CONFIG_RELAY=y
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
diff --git a/target/linux/brcm63xx/config-2.6.30 b/target/linux/brcm63xx/config-2.6.30
index 7834448..dc22ac9 100644
--- a/target/linux/brcm63xx/config-2.6.30
+++ b/target/linux/brcm63xx/config-2.6.30
@@ -169,7 +169,6 @@ CONFIG_PHYLIB=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_RELAY=y
CONFIG_RING_BUFFER=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
diff --git a/target/linux/cobalt/config-default b/target/linux/cobalt/config-default
index 37a6be6..38256ea 100644
--- a/target/linux/cobalt/config-default
+++ b/target/linux/cobalt/config-default
@@ -304,7 +304,6 @@ CONFIG_PHYS_ADDR_T_64BIT=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
CONFIG_PROC_PAGE_MONITOR=y
-# CONFIG_PROM_EMU is not set
CONFIG_RAID_ATTRS=y
CONFIG_RELAY=y
CONFIG_RTC_CLASS=y
diff --git a/target/linux/generic-2.6/patches-2.6.27/021-mips_simple_prom_emulator.patch b/target/linux/generic-2.6/patches-2.6.27/021-mips_simple_prom_emulator.patch
deleted file mode 100644
index 527abc4..0000000
--- a/target/linux/generic-2.6/patches-2.6.27/021-mips_simple_prom_emulator.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -770,6 +770,9 @@ config SYNC_R4K
-
- config MIPS_MACHINE
- def_bool n
-+
-+config PROM_EMU
-+ def_bool n
-
- config IMAGE_CMDLINE_HACK
- bool "OpenWrt specific image command line hack"
---- a/arch/mips/kernel/head.S
-+++ b/arch/mips/kernel/head.S
-@@ -149,6 +149,15 @@ EXPORT(__image_cmdline)
- .fill 0x400
- #endif /* CONFIG_IMAGE_CMDLINE_HACK */
-
-+#ifdef CONFIG_PROM_EMU
-+EXPORT(prom_emu_argv)
-+ .word 0
-+ .word prom_emu_cmdline
-+ .ascii "CMDLINE:"
-+EXPORT(prom_emu_cmdline)
-+ .fill 0x400
-+#endif
-+
- __REF
-
- NESTED(kernel_entry, 16, sp) # kernel entry point
-@@ -189,6 +198,19 @@ NESTED(kernel_entry, 16, sp) # kernel
- LONG_S zero, (t0)
- bne t0, t1, 1b
-
-+#ifdef CONFIG_PROM_EMU
-+ PTR_LA t0, prom_emu_cmdline
-+ LONG_L t1, 0(t0)
-+ beqz t1, 1f
-+
-+ li a0, 2
-+ PTR_LA a1, prom_emu_argv
-+ move a2, zero
-+ move a3, zero
-+
-+1:
-+#endif /* CONFIG_PROM_EMU */
-+
- LONG_S a0, fw_arg0 # firmware arguments
- LONG_S a1, fw_arg1
- LONG_S a2, fw_arg2
diff --git a/target/linux/generic-2.6/patches-2.6.28/021-mips_simple_prom_emulator.patch b/target/linux/generic-2.6/patches-2.6.28/021-mips_simple_prom_emulator.patch
deleted file mode 100644
index 5aa5245..0000000
--- a/target/linux/generic-2.6/patches-2.6.28/021-mips_simple_prom_emulator.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -765,6 +765,9 @@ config SYNC_R4K
-
- config MIPS_MACHINE
- def_bool n
-+
-+config PROM_EMU
-+ def_bool n
-
- config IMAGE_CMDLINE_HACK
- bool "OpenWrt specific image command line hack"
---- a/arch/mips/kernel/head.S
-+++ b/arch/mips/kernel/head.S
-@@ -149,6 +149,15 @@ EXPORT(__image_cmdline)
- .fill 0x400
- #endif /* CONFIG_IMAGE_CMDLINE_HACK */
-
-+#ifdef CONFIG_PROM_EMU
-+EXPORT(prom_emu_argv)
-+ .word 0
-+ .word prom_emu_cmdline
-+ .ascii "CMDLINE:"
-+EXPORT(prom_emu_cmdline)
-+ .fill 0x400
-+#endif
-+
- __REF
-
- NESTED(kernel_entry, 16, sp) # kernel entry point
-@@ -189,6 +198,19 @@ NESTED(kernel_entry, 16, sp) # kernel
- LONG_S zero, (t0)
- bne t0, t1, 1b
-
-+#ifdef CONFIG_PROM_EMU
-+ PTR_LA t0, prom_emu_cmdline
-+ LONG_L t1, 0(t0)
-+ beqz t1, 1f
-+
-+ li a0, 2
-+ PTR_LA a1, prom_emu_argv
-+ move a2, zero
-+ move a3, zero
-+
-+1:
-+#endif /* CONFIG_PROM_EMU */
-+
- LONG_S a0, fw_arg0 # firmware arguments
- LONG_S a1, fw_arg1
- LONG_S a2, fw_arg2
diff --git a/target/linux/generic-2.6/patches-2.6.30/021-mips_simple_prom_emulator.patch b/target/linux/generic-2.6/patches-2.6.30/021-mips_simple_prom_emulator.patch
deleted file mode 100644
index 80f402c..0000000
--- a/target/linux/generic-2.6/patches-2.6.30/021-mips_simple_prom_emulator.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -805,6 +805,9 @@ config SYNC_R4K
-
- config MIPS_MACHINE
- def_bool n
-+
-+config PROM_EMU
-+ def_bool n
-
- config IMAGE_CMDLINE_HACK
- bool "OpenWrt specific image command line hack"
---- a/arch/mips/kernel/head.S
-+++ b/arch/mips/kernel/head.S
-@@ -149,6 +149,15 @@ EXPORT(__image_cmdline)
- .fill 0x400
- #endif /* CONFIG_IMAGE_CMDLINE_HACK */
-
-+#ifdef CONFIG_PROM_EMU
-+EXPORT(prom_emu_argv)
-+ .word 0
-+ .word prom_emu_cmdline
-+ .ascii "CMDLINE:"
-+EXPORT(prom_emu_cmdline)
-+ .fill 0x400
-+#endif
-+
- __REF
-
- NESTED(kernel_entry, 16, sp) # kernel entry point
-@@ -189,6 +198,19 @@ NESTED(kernel_entry, 16, sp) # kernel
- LONG_S zero, (t0)
- bne t0, t1, 1b
-
-+#ifdef CONFIG_PROM_EMU
-+ PTR_LA t0, prom_emu_cmdline
-+ LONG_L t1, 0(t0)
-+ beqz t1, 1f
-+
-+ li a0, 2
-+ PTR_LA a1, prom_emu_argv
-+ move a2, zero
-+ move a3, zero
-+
-+1:
-+#endif /* CONFIG_PROM_EMU */
-+
- LONG_S a0, fw_arg0 # firmware arguments
- LONG_S a1, fw_arg1
- LONG_S a2, fw_arg2
diff --git a/target/linux/generic-2.6/patches-2.6.31/021-mips_simple_prom_emulator.patch b/target/linux/generic-2.6/patches-2.6.31/021-mips_simple_prom_emulator.patch
deleted file mode 100644
index 3119420..0000000
--- a/target/linux/generic-2.6/patches-2.6.31/021-mips_simple_prom_emulator.patch
+++ /dev/null
@@ -1,50 +0,0 @@
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -839,6 +839,9 @@ config SYNC_R4K
-
- config MIPS_MACHINE
- def_bool n
-+
-+config PROM_EMU
-+ def_bool n
-
- config IMAGE_CMDLINE_HACK
- bool "OpenWrt specific image command line hack"
---- a/arch/mips/kernel/head.S
-+++ b/arch/mips/kernel/head.S
-@@ -149,6 +149,15 @@ EXPORT(__image_cmdline)
- .fill 0x400
- #endif /* CONFIG_IMAGE_CMDLINE_HACK */
-
-+#ifdef CONFIG_PROM_EMU
-+EXPORT(prom_emu_argv)
-+ .word 0
-+ .word prom_emu_cmdline
-+ .ascii "CMDLINE:"
-+EXPORT(prom_emu_cmdline)
-+ .fill 0x400
-+#endif
-+
- __REF
-
- NESTED(kernel_entry, 16, sp) # kernel entry point
-@@ -189,6 +198,19 @@ NESTED(kernel_entry, 16, sp) # kernel
- LONG_S zero, (t0)
- bne t0, t1, 1b
-
-+#ifdef CONFIG_PROM_EMU
-+ PTR_LA t0, prom_emu_cmdline
-+ LONG_L t1, 0(t0)
-+ beqz t1, 1f
-+
-+ li a0, 2
-+ PTR_LA a1, prom_emu_argv
-+ move a2, zero
-+ move a3, zero
-+
-+1:
-+#endif /* CONFIG_PROM_EMU */
-+
- LONG_S a0, fw_arg0 # firmware arguments
- LONG_S a1, fw_arg1
- LONG_S a2, fw_arg2
diff --git a/target/linux/ifxmips/config-2.6.27 b/target/linux/ifxmips/config-2.6.27
index eb62113..8003af5 100644
--- a/target/linux/ifxmips/config-2.6.27
+++ b/target/linux/ifxmips/config-2.6.27
@@ -130,7 +130,6 @@ CONFIG_PCI_DOMAINS=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
# CONFIG_R6040 is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_WAIT_SCAN is not set
diff --git a/target/linux/ifxmips/config-2.6.28 b/target/linux/ifxmips/config-2.6.28
index 0f9da8a..a59c46e 100644
--- a/target/linux/ifxmips/config-2.6.28
+++ b/target/linux/ifxmips/config-2.6.28
@@ -125,7 +125,6 @@ CONFIG_PCI_DOMAINS=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
# CONFIG_R6040 is not set
CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y
# CONFIG_SCSI_DMA is not set
diff --git a/target/linux/octeon/config-default b/target/linux/octeon/config-default
index fce2682..9511dc4 100644
--- a/target/linux/octeon/config-default
+++ b/target/linux/octeon/config-default
@@ -228,7 +228,7 @@ CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
# CONFIG_PROBE_INITRD_HEADER is not set
CONFIG_PROC_PAGE_MONITOR=y
-# CONFIG_PROM_EMU is not set
+
# CONFIG_PROVE_LOCKING is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RELAY=y
diff --git a/target/linux/ramips/rt288x/config-2.6.30 b/target/linux/ramips/rt288x/config-2.6.30
index dd83f64..db99f52 100644
--- a/target/linux/ramips/rt288x/config-2.6.30
+++ b/target/linux/ramips/rt288x/config-2.6.30
@@ -115,7 +115,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_RALINK_RT288X=y
# CONFIG_RALINK_RT305X is not set
CONFIG_RT288X_MACH_RT_N15=y
diff --git a/target/linux/ramips/rt305x/config-2.6.30 b/target/linux/ramips/rt305x/config-2.6.30
index c51b4cd..c9598b2 100644
--- a/target/linux/ramips/rt305x/config-2.6.30
+++ b/target/linux/ramips/rt305x/config-2.6.30
@@ -113,7 +113,6 @@ CONFIG_PHYLIB=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_RALINK_DEV_GPIO_LEDS=y
# CONFIG_RALINK_RT288X is not set
CONFIG_RALINK_RT305X=y
diff --git a/target/linux/rb532/config-default b/target/linux/rb532/config-default
index 7e6fdd2..10f1d9c 100644
--- a/target/linux/rb532/config-default
+++ b/target/linux/rb532/config-default
@@ -150,7 +150,6 @@ CONFIG_PCSPKR_PLATFORM=y
# CONFIG_PNX8550_JBS is not set
# CONFIG_PNX8550_STB810 is not set
# CONFIG_PROBE_INITRD_HEADER is not set
-# CONFIG_PROM_EMU is not set
CONFIG_RC32434_WDT=y
CONFIG_SCHED_OMIT_FRAME_POINTER=y
CONFIG_SCSI=y