nios2: pass command line and initrd to linux in bootm.c
authorThomas Chou <thomas@wytron.com.tw>
Wed, 24 Mar 2010 03:41:46 +0000 (11:41 +0800)
committerScott McNutt <smcnutt@psyent.com>
Fri, 2 Apr 2010 16:28:41 +0000 (12:28 -0400)
commited2941578480d30b413e081b6f1a5675d4afd9e2
tree5d0a0049a6131113ca29d1e13846bfe3b498e2ed
parent9e486ab1c98ea7ab357520307fe5d5a0847cd1bb
nios2: pass command line and initrd to linux in bootm.c

This patch adds bootargs passing to nios2 linux.

The args passing is enabled with,
r4 : 'NIOS' magic
r5 : pointer to initrd start
r6 : pointer to initrd end
r7 : pointer to command line

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
lib_nios2/bootm.c