Skip to content
Commit c139b5ff authored by Tom Rini's avatar Tom Rini
Browse files

image.c: Fix non-Android booting with ramdisk and/or device tree

In 1fec3c5d

 I added a check that if we had an Android image we default to
trying the kernel address for a ramdisk.  However when we don't have an
Android image buf is NULL and we oops here.  Ensure that we have 'buf'
to check first.

Reported-by: default avatarelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 248f260c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment