bootm: make sure pass NULL when argc < 1
authorBryan Wu <cooloney@gmail.com>
Fri, 15 Aug 2014 23:51:39 +0000 (16:51 -0700)
committerTom Rini <trini@ti.com>
Thu, 21 Aug 2014 16:01:30 +0000 (12:01 -0400)
commite6c88a6bbe50011acc5d9ba833526ce9676280ae
treeacea11da592dff201ac2fbd99d6769820f963159
parent6c454fedf5195e4160bd7aa398f7a4bb17d7157c
bootm: make sure pass NULL when argc < 1

arg[0] might not be NULL even if argc < 1, so fix this as before.

Signed-off-by: Bryan Wu <pengw@nvidia.com>
common/bootm.c