summaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte/patches/001-sibyte_remove_simulation.patch
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-15 07:11:22 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-06-15 07:11:22 +0000
commit810339235c1ab41fa69577f5f8bc14fd7596b1dd (patch)
treec501d8abb66b94b2e9d976f1df049cbca7e3b650 /target/linux/sibyte/patches/001-sibyte_remove_simulation.patch
parentf9863d2cdeac03015f24e4128293b9ef71839432 (diff)
sibyte cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16470 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/sibyte/patches/001-sibyte_remove_simulation.patch')
-rw-r--r--target/linux/sibyte/patches/001-sibyte_remove_simulation.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/target/linux/sibyte/patches/001-sibyte_remove_simulation.patch b/target/linux/sibyte/patches/001-sibyte_remove_simulation.patch
new file mode 100644
index 000000000..c3208a4f7
--- /dev/null
+++ b/target/linux/sibyte/patches/001-sibyte_remove_simulation.patch
@@ -0,0 +1,37 @@
+[PATCH] Remove SiByte simulator option
+
+This patch removes the SiByte simulation Kconfig option, which only
+modified a printk.
+
+Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
+
+--- a/arch/mips/sibyte/Kconfig
++++ b/arch/mips/sibyte/Kconfig
+@@ -128,13 +128,6 @@ config SIBYTE_ENABLE_LDT_IF_PCI
+ bool
+ select SIBYTE_HAS_LDT if PCI
+
+-config SIMULATION
+- bool "Running under simulation"
+- depends on SIBYTE_SB1xxx_SOC
+- help
+- Build a kernel suitable for running under the GDB simulator.
+- Primarily adjusts the kernel's notion of time.
+-
+ config SB1_CEX_ALWAYS_FATAL
+ bool "All cache exceptions considered fatal (no recovery attempted)"
+ depends on SIBYTE_SB1xxx_SOC
+--- a/arch/mips/sibyte/swarm/setup.c
++++ b/arch/mips/sibyte/swarm/setup.c
+@@ -137,11 +137,7 @@ void __init plat_mem_setup(void)
+ swarm_rtc_type = RTC_M4LT81;
+
+ printk("This kernel optimized for "
+-#ifdef CONFIG_SIMULATION
+- "simulation"
+-#else
+ "board"
+-#endif
+ " runs "
+ #ifdef CONFIG_SIBYTE_CFE
+ "with"