diff options
author | Tom Rini <trini@konsulko.com> | 2015-10-27 19:04:40 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-27 19:06:17 -0400 |
commit | c139b5ff0999ec3d44a02ebdb623a92e5782e53e (patch) | |
tree | 5da9fe94b9107017f0c23fd9573f6e73f1028ab6 /drivers/usb/host/usb-uclass.c | |
parent | 248f260cbd23f1a5f5d7a9aebdf2bd8253e0d04b (diff) | |
download | u-boot-imx-c139b5ff0999ec3d44a02ebdb623a92e5782e53e.zip u-boot-imx-c139b5ff0999ec3d44a02ebdb623a92e5782e53e.tar.gz u-boot-imx-c139b5ff0999ec3d44a02ebdb623a92e5782e53e.tar.bz2 |
image.c: Fix non-Android booting with ramdisk and/or device tree
In 1fec3c5 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: elipe Balbi <balbi@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/usb/host/usb-uclass.c')
0 files changed, 0 insertions, 0 deletions