]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_arm/armlinux.c
* Patch by Phillippe Robin, 16 Mar 2004:
[karo-tx-uboot.git] / lib_arm / armlinux.c
index 8ace062750ead973f0672ba95ec1af2ae76f7599..eca9a052c4ecd234fc520c46407b3b038b93531e 100644 (file)
@@ -312,6 +312,9 @@ static void setup_commandline_tag (bd_t *bd, char *commandline)
 {
        char *p;
 
+       if (!commandline)
+               return;
+
        /* eat leading white space */
        for (p = commandline; *p == ' '; p++);