Lines Matching refs:cmdline
42 static void create_atags(unsigned taddr, const char *cmdline, in create_atags() argument
76 if(cmdline && cmdline[0]) { in create_atags()
82 src = cmdline; in create_atags()
115 const char *cmdline; in boot_linux_from_flash() local
150 if(hdr->cmdline[0]) { in boot_linux_from_flash()
151 cmdline = (char*) hdr->cmdline; in boot_linux_from_flash()
153 cmdline = board_cmdline(); in boot_linux_from_flash()
154 if(cmdline == 0) { in boot_linux_from_flash()
155 cmdline = "mem=50M console=null"; in boot_linux_from_flash()
158 cprintf("cmdline = '%s'\n", cmdline); in boot_linux_from_flash()
162 create_atags(ADDR_TAGS, cmdline, in boot_linux_from_flash()
221 const char *cmdline = 0; in _main() local
234 cmdline = tags_get_cmdline((void*) linux_tags); in _main()
266 if (cmdline) { in _main()
267 char *sn = strstr(cmdline, SERIALNO_STR); in _main()