diff options
author | Christoffer Dall <cdall@cs.columbia.edu> | 2011-12-09 10:43:14 -0500 |
---|---|---|
committer | Christoffer Dall <c.dall@virtualopensystems.com> | 2011-12-09 12:58:01 -0500 |
commit | 715dfa8e8bb8ce5cad70a93aeff82e5d636cf4dc (patch) | |
tree | 6a24a61c7aabf3ab6055f9d3604f7fdc751a241b | |
parent | f27ab9140d54a0c6f25523aeede5d5333116b65e (diff) |
boot.S: Factor out kernel cmd-line from boot-loader
The kernel command lines are set in the Makefile and config files now
anyway and depend on the board type settings in there, so there should
be no need to have yet another set of ifdefs in boot.S.
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
-rw-r--r-- | boot.S | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -142,30 +142,8 @@ atags: @ ATAG_CMDLINE .long (1f - .) >> 2 .long 0x54410009 -#ifdef KCMD - /* User-specified command line always overrides */ + /* The kernel boot command line is defined in the Make system */ .asciz KCMD -#else -#ifdef MACH_MPS - .asciz "rdinit=/bin/sh console=ttyAMA3 mem=4M earlyprintk" -#elif defined(VEXPRESS) - -#ifdef USE_INITRD - .asciz "console=ttyAMA0 mem=512M mem=512M@0x880000000 earlyprintk ip=192.168.27.200::192.168.27.1:255.255.255.0:angstrom:eth0:off" -#else /* VEXPRESS && !USE_INITRD */ - .asciz "console=ttyAMA0 mem=512M mem=512M@0x880000000 earlyprintk root=/dev/nfs nfsroot=192.168.27.93:/srv/nfs_root,tcp rw ip=dhcp nfsrootdebug" -#endif - -#else /* ! VEXPRESS && ! MACH_MPS */ - -#ifdef USE_INITRD - .asciz "console=ttyAMA0 mem=256M earlyprintk" -#else - .asciz "root=/dev/nfs nfsroot=10.1.77.43:/work/debootstrap/arm ip=dhcp console=ttyAMA0 mem=256M earlyprintk" -#endif - -#endif -#endif .align 2 1: |