diff options
author | keith.zhao <keith.zhao@starfivetech.com> | 2023-03-17 13:29:01 +0300 |
---|---|---|
committer | andy.hu <andy.hu@starfivetech.com> | 2023-03-17 13:29:01 +0300 |
commit | fc2ce6b33e997ec8dbaffc43f35125052d39224a (patch) | |
tree | 97603b1e518ab06f2068642612843088956e7ff0 /board | |
parent | d4dedcadbc2e80be5b91556b7b1f14cd28c9d0e1 (diff) | |
download | u-boot-fc2ce6b33e997ec8dbaffc43f35125052d39224a.tar.xz |
CR_4094 display: update uboot logo display function:
Diffstat (limited to 'board')
-rw-r--r-- | board/starfive/evb/starfive_evb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/starfive/evb/starfive_evb.c b/board/starfive/evb/starfive_evb.c index e1e3f2dbc4..85881d28d6 100644 --- a/board/starfive/evb/starfive_evb.c +++ b/board/starfive/evb/starfive_evb.c @@ -18,6 +18,7 @@ #include <asm/arch/gpio.h> #include <bmp_logo.h> #include <video.h> +#include <splash.h> enum chip_type_t { CHIP_A = 0, @@ -310,7 +311,7 @@ int board_late_init(void) if (ret) return ret; - ret = video_bmp_display(dev, (ulong)&bmp_logo_bitmap[0], 0, 0, false); + ret = video_bmp_display(dev, (ulong)&bmp_logo_bitmap[0], BMP_ALIGN_CENTER, BMP_ALIGN_CENTER, true); if (ret) goto err; |