summaryrefslogtreecommitdiff
path: root/lib_arm
diff options
context:
space:
mode:
authorwdenk <wdenk>2004-03-23 21:43:07 +0000
committerwdenk <wdenk>2004-03-23 21:43:07 +0000
commit109c0e3ad32428dd65ed89f882faf59e30132494 (patch)
treeb169a55128956348db08e24312c5db7cd23a1c9e /lib_arm
parentefa329cb892c8b9a5e453638b3ca57c94b71e9a2 (diff)
downloadu-boot-imx-109c0e3ad32428dd65ed89f882faf59e30132494.zip
u-boot-imx-109c0e3ad32428dd65ed89f882faf59e30132494.tar.gz
u-boot-imx-109c0e3ad32428dd65ed89f882faf59e30132494.tar.bz2
* Patch by Phillippe Robin, 16 Mar 2004:
avoid dereferencing NULL pointer in lib_arm/armlinux.c * Patch by Stephen Williams, 15 Mar 2004: Fix CONFIG_SERIAL_SOFTWARE_FIFO documentation * Patch by Tolunay Orkun, 15 Mar 2004: Initialize bi_opbfreq to real OPB frequency via get_OPB_freq() * Patch by Travis Sawyer, 15 Mar 2004: Update CREDITS & MAINTAINERS files for PPC440GX & Ocotea port
Diffstat (limited to 'lib_arm')
-rw-r--r--lib_arm/armlinux.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_arm/armlinux.c b/lib_arm/armlinux.c
index 8ace062..eca9a05 100644
--- a/lib_arm/armlinux.c
+++ b/lib_arm/armlinux.c
@@ -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++);