diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-05-28 09:49:40 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-05-28 09:49:40 +0000 |
commit | 52d975c359b8330e2844d3bb942588bd5afd73e6 (patch) | |
tree | aabd9a26bf01feb90ec57ece4c101df09c11d199 /target/linux/sibyte/patches/100-honuor_config_cmdline.patch | |
parent | aef879ea108fa8578ebc46b20544c592bce14ccb (diff) | |
download | mtk-20170518-52d975c359b8330e2844d3bb942588bd5afd73e6.zip mtk-20170518-52d975c359b8330e2844d3bb942588bd5afd73e6.tar.gz mtk-20170518-52d975c359b8330e2844d3bb942588bd5afd73e6.tar.bz2 |
renumber sibyte patches
SVN-Revision: 16126
Diffstat (limited to 'target/linux/sibyte/patches/100-honuor_config_cmdline.patch')
-rw-r--r-- | target/linux/sibyte/patches/100-honuor_config_cmdline.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/sibyte/patches/100-honuor_config_cmdline.patch b/target/linux/sibyte/patches/100-honuor_config_cmdline.patch new file mode 100644 index 0000000..b2af916 --- /dev/null +++ b/target/linux/sibyte/patches/100-honuor_config_cmdline.patch @@ -0,0 +1,14 @@ +--- a/arch/mips/sibyte/cfe/setup.c ++++ b/arch/mips/sibyte/cfe/setup.c +@@ -293,7 +293,11 @@ void __init prom_init(void) + * It's OK for direct boot to not provide a + * command line + */ ++#ifdef CONFIG_CMDLINE ++ strlcpy(arcs_cmdline, CONFIG_CMDLINE, COMMAND_LINE_SIZE); ++#else + strcpy(arcs_cmdline, "root=/dev/ram0 "); ++#endif + } else { + /* The loader should have set the command line */ + /* too early for panic to do any good */ |