summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorandy.hu <andy.hu@starfivetech.com>2023-03-17 13:29:01 +0300
committerandy.hu <andy.hu@starfivetech.com>2023-03-17 13:29:01 +0300
commit6be2d0ba531e9ece412cc58545d01ff654563e20 (patch)
treea383aaf09dbb7fed9ae392e9a5c1e0333119d9af /board
parent0f9bab35b0e3b445e2d322707b9659d7537d7e8c (diff)
parentfc2ce6b33e997ec8dbaffc43f35125052d39224a (diff)
downloadu-boot-6be2d0ba531e9ece412cc58545d01ff654563e20.tar.xz
Merge branch 'CR_4094_evb_515_uboot_logo_keith.zhao' into 'jh7110-master'
CR_4094 display: update uboot logo display function: See merge request sdk/u-boot!42
Diffstat (limited to 'board')
-rw-r--r--board/starfive/evb/starfive_evb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/starfive/evb/starfive_evb.c b/board/starfive/evb/starfive_evb.c
index c219252b09..dc02aad206 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,
@@ -318,7 +319,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;