summaryrefslogtreecommitdiff
path: root/packages/arm-kernel-shim/files/config-dsmg600.h
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2007-02-15 06:53:35 +0000
committerMike Westerhof <mwester@dls.net>2007-02-15 06:53:35 +0000
commitd31aa0829942777aadf63719508902cf2a5bf1f0 (patch)
treee286ced0a7a4f2f81a22264e16d826cf29c89728 /packages/arm-kernel-shim/files/config-dsmg600.h
parent95785b5abe1a39b33a613cb1ccf00cbdcb16d65f (diff)
arm-kernel-shim: Update DSM-G600 kernel shim to supply a default cmline,
if the cmdline passed in from the bootloader is empty or missing.
Diffstat (limited to 'packages/arm-kernel-shim/files/config-dsmg600.h')
-rw-r--r--packages/arm-kernel-shim/files/config-dsmg600.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/arm-kernel-shim/files/config-dsmg600.h b/packages/arm-kernel-shim/files/config-dsmg600.h
index 5f90fb424d..3203052d51 100644
--- a/packages/arm-kernel-shim/files/config-dsmg600.h
+++ b/packages/arm-kernel-shim/files/config-dsmg600.h
@@ -22,14 +22,17 @@
//#define RAM_BANK1_START 0xd0000000
//#define RAM_BANK1_LENGTH 0x10000000
-//#define COMMANDLINE\
-// "init=/linuxrc root=/dev/mtdblock2 rootfstype=jffs2 rw noirqdebug console=ttyS0,115200n8"
+#define COMMANDLINE \
+ "init=/linuxrc root=/dev/mtdblock2 rootfstype=jffs2 rw noirqdebug console=ttyS0,115200n8"
#define MACH_TYPE 964
/* The DSM-G600 RedBoot sets up the ATAGs correctly */
#define PASSTHROUGH_ATAGS
+/* but if the command line passed in is empty, use the default above. */
+#define CMDLINE_IF_NONE
+
/* Uncomment one of these if you need to switch the CPU into a
specific mode. */
//#define FORCE_LITTLEENDIAN