app: aboot: Add error check for fb config memory

memory for fb config should be allocated before displaying images on the
screen, make sure to check the fb config is allocated before using it.

Change-Id: Ie257bd7e0472dab9d4573f134adf231a224f28a9
diff --git a/app/aboot/aboot.c b/app/aboot/aboot.c
index 6f72f15..26129fd 100644
--- a/app/aboot/aboot.c
+++ b/app/aboot/aboot.c
@@ -2967,6 +2967,12 @@
 	}
 
 	fb_display = fbcon_display();
+	if (!fb_display)
+	{
+		dprintf(CRITICAL, "ERROR: fb config is not allocated\n");
+		return -1;
+	}
+
 	base = (uint8_t *) fb_display->base;
 
 	if (mmc_read(ptn, (uint32_t *)(base + LOGO_IMG_OFFSET), blocksize)) {