diff options
author | Andrew Wilcox <andy@protium.com> | 2006-12-07 19:10:02 +0000 |
---|---|---|
committer | Andrew Wilcox <andy@protium.com> | 2006-12-07 19:10:02 +0000 |
commit | 1d5f50bce888b5b4f20ff3bd14f6685f2c0355e7 (patch) | |
tree | e049136cac188f128c93055b1c0f065be32331a7 /packages/linux/linux-storcenter/10-command-line.patch | |
parent | 6363b1e9e61b4b4d8cc6541ae1a75de3e5e09870 (diff) |
linux-storcenter: kernel patch, default config, and bitbake file for storcenter kernel.
Diffstat (limited to 'packages/linux/linux-storcenter/10-command-line.patch')
-rw-r--r-- | packages/linux/linux-storcenter/10-command-line.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/linux/linux-storcenter/10-command-line.patch b/packages/linux/linux-storcenter/10-command-line.patch new file mode 100644 index 0000000000..6d2647bdcc --- /dev/null +++ b/packages/linux/linux-storcenter/10-command-line.patch @@ -0,0 +1,26 @@ +--- linux-2.6.12.6.orig/arch/ppc/platforms/iomega8241.c 2006-10-31 08:48:09.000000000 -0800 ++++ linux-2.6.12.6/arch/ppc/platforms/iomega8241.c 2006-11-08 08:19:58.000000000 -0800 +@@ -82,6 +82,10 @@ + + static void iomega8241_halt(void); + ++static char iomega8241_command_line[] __initdata = ++ "root=/dev/mtdblock2 rootfstype=jffs2 rw init=/linuxrc " ++ CONFIG_CMDLINE; ++ + /* + * Define all of the IRQ senses and polarities. + */ +@@ -519,6 +523,12 @@ + strcpy(cmd_line, (char *)(r6+KERNELBASE)); + } + ++ /* ++ * Just use our command line, no matter what ++ */ ++ strlcpy(cmd_line, iomega8241_command_line, COMMAND_LINE_SIZE); ++ ++ + #ifdef CONFIG_BLK_DEV_INITRD + /* take care of initrd if we have one */ + if (r4) { |