summaryrefslogtreecommitdiff
path: root/board/starfive/evb/starfive_evb.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/starfive/evb/starfive_evb.c')
-rw-r--r--board/starfive/evb/starfive_evb.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/board/starfive/evb/starfive_evb.c b/board/starfive/evb/starfive_evb.c
index 8a30a24de0..b3d3a1de9b 100644
--- a/board/starfive/evb/starfive_evb.c
+++ b/board/starfive/evb/starfive_evb.c
@@ -16,6 +16,8 @@
#include <misc.h>
#include <linux/bitops.h>
#include <asm/arch/gpio.h>
+#include <bmp_logo.h>
+#include <video.h>
enum chip_type_t {
CHIP_A = 0,
@@ -263,3 +265,21 @@ err:
}
#endif
+int board_late_init(void)
+{
+ struct udevice *dev;
+ int ret;
+
+ ret = uclass_get_device(UCLASS_VIDEO, 0, &dev);
+ if (ret)
+ return ret;
+
+ ret = video_bmp_display(dev, (ulong)&bmp_logo_bitmap[0], 0, 0, false);
+ if (ret)
+ goto err;
+
+err:
+ return 0;
+
+}
+