2 * Copyright (C) 2013 Samsung Electronics
3 * Przemyslaw Marczak <p.marczak@samsung.com>
5 * SPDX-License-Identifier: GPL-2.0+
11 #include <samsung/misc.h>
19 addr = panel_info.logo_addr;
21 error("There is no logo data.");
25 if (panel_info.vl_width >= panel_info.logo_width) {
26 x = ((panel_info.vl_width - panel_info.logo_width) >> 1);
29 printf("Warning: image width is bigger than display width\n");
32 if (panel_info.vl_height >= panel_info.logo_height) {
33 y = ((panel_info.vl_height - panel_info.logo_height) >> 1);
36 printf("Warning: image height is bigger than display height\n");
39 bmp_display(addr, x, y);
41 #endif /* CONFIG_CMD_BMP */