[PATCH] board: stm32mp1: add splash screen on dk2
Grzegorz Szymaszek
gszymaszek at short.pl
Tue Jul 4 10:11:18 CEST 2023
Hi,
On Mon, Jul 03, 2023 at 06:27:54PM +0200, Dario Binacchi wrote:
> diff --git a/board/st/stm32mp1/stm32mp1.c b/board/st/stm32mp1/stm32mp1.c
> -%<-
> #include <syscon.h>
> +#include <splash.h>
> +#include <st_logo_data.h>
> #include <usb.h>
These two should be put above syscon.h if you want to keep the includes
sorted alphabetically.
> + ulong logo =
> + (ulong)stmicroelectronics_uboot_logo_8bit_rle;
> + bmp_display(logo, BMP_ALIGN_CENTER, BMP_ALIGN_CENTER);
Technically logo is const.
All the best
--
Grzegorz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230704/38ce71bd/attachment.sig>
More information about the U-Boot
mailing list