Skip to content

Commit b61cd31

Browse files
daviddaneyralfbaechle
authored andcommitted
MIPS: Octeon: Remove special case for simulator command line.
There is no reason to have the kernel to append commands when running under the simulator, the simulator is perfectly capable of supplying the necessary command line arguments. Furthermore, if the simulator needs something different than what is hard coded in the kernel, it cannot get it if the kernel overrides it. Fix/Simplify the whole thing by removing this bit. Signed-off-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/8152/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 9e0f162 commit b61cd31

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎arch/mips/cavium-octeon/setup.c‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -806,15 +806,6 @@ void __init prom_init(void)
806806
#endif
807807
}
808808

809-
if (octeon_is_simulation()) {
810-
/*
811-
* The simulator uses a mtdram device pre filled with
812-
* the filesystem. Also specify the calibration delay
813-
* to avoid calculating it every time.
814-
*/
815-
strcat(arcs_cmdline, " rw root=1f00 slram=root,0x40000000,+1073741824");
816-
}
817-
818809
mips_hpt_frequency = octeon_get_clock_rate();
819810

820811
octeon_init_cvmcount();

0 commit comments

Comments
 (0)