use CMDLINE_FORCE

SVN-Revision: 23942
master
Imre Kaloz 14 years ago
parent a64a42cbaa
commit cec876fe24
  1. 1
      target/linux/orion/config-default
  2. 11
      target/linux/orion/patches/010-ignore_atag_cmdline.patch

@ -33,6 +33,7 @@ CONFIG_BOUNCE=y
# CONFIG_CIFS_STATS is not set
CONFIG_CLASSIC_RCU=y
CONFIG_CMDLINE="root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"
CONFIG_CMDLINE_FORCE=y
CONFIG_CPU_32v5=y
CONFIG_CPU_32=y
CONFIG_CPU_ABRT_EV5T=y

@ -1,11 +0,0 @@
--- a/arch/arm/kernel/setup.c
+++ b/arch/arm/kernel/setup.c
@@ -595,7 +595,7 @@ __tagtable(ATAG_REVISION, parse_tag_revi
static int __init parse_tag_cmdline(const struct tag *tag)
{
- strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
+// strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
return 0;
}
Loading…
Cancel
Save