summaryrefslogtreecommitdiffstats
path: root/common/cmd_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_bmp.c')
-rw-r--r--common/cmd_bmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_bmp.c b/common/cmd_bmp.c
index 946031deaa..a7c5fbd269 100644
--- a/common/cmd_bmp.c
+++ b/common/cmd_bmp.c
@@ -31,6 +31,7 @@
#include <command.h>
#include <asm/byteorder.h>
#include <malloc.h>
+#include <splash.h>
#include <video.h>
static int bmp_info (ulong addr);
@@ -125,6 +126,8 @@ static int do_bmp_display(cmd_tbl_t * cmdtp, int flag, int argc, char * const ar
ulong addr;
int x = 0, y = 0;
+ splash_get_pos(&x, &y);
+
switch (argc) {
case 1: /* use load_addr as default address */
addr = load_addr;
OpenPOWER on IntegriCloud