cmd_pxe.c: Pass along 'cmdtp' to do_bootm()/do_bootz()
authorTom Rini <trini@ti.com>
Tue, 24 Sep 2013 13:05:08 +0000 (09:05 -0400)
committerTom Rini <trini@ti.com>
Tue, 24 Sep 2013 13:05:08 +0000 (09:05 -0400)
commitd7884e047d08447dfd1374e9fa2fdf7ab36e56f5
treef5d33b61b2242db3ea868e2988566348970d5429
parent3d187b3924b5c027b3e591c439838bc1c70afefd
cmd_pxe.c: Pass along 'cmdtp' to do_bootm()/do_bootz()

When we call do_bootm() with a vmlinuz, this would lead to a NULL
pointer dereference, and after talking with Wolfgang the right thing to
do here for now is to make sure that we pass cmdtp to these functions
rather than NULL.

Reported-by: Steven A. Falco <stevenfalco@gmail.com>
Signed-off-by: Tom Rini <trini@ti.com>
common/cmd_pxe.c