summaryrefslogtreecommitdiffstats
path: root/target/linux/sibyte/patches/001-sibyte_remove_simulation.patch
diff options
context:
space:
mode:
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"