* Patch by Phillippe Robin, 16 Mar 2004:
[platform/kernel/u-boot.git] / lib_arm / armlinux.c
index 8ace062..eca9a05 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++);