diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-21 19:33:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-21 19:33:05 -0400 |
commit | 247aa5a191159ea7e03bf1918e22fbbb784cd410 (patch) | |
tree | 56297e86b3ac1b199488643da8322f2f623159a2 /common/board_f.c | |
parent | 226ecf8be4c6a29caa86d1c9f33d5794c5732375 (diff) | |
parent | 373991d6939b01c47b352b1f620ef772419a9cf4 (diff) |
Merge branch '2023-07-21-assorted-TI-platform-updates'
- The first half of a number of TI platform bugfixes and improvements,
primarily around K3 platforms and splash screen support.
Diffstat (limited to 'common/board_f.c')
-rw-r--r-- | common/board_f.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c index e5969ec9a2..7d2c380e91 100644 --- a/common/board_f.c +++ b/common/board_f.c @@ -411,7 +411,16 @@ __weak int arch_reserve_mmu(void) static int reserve_video(void) { - if (IS_ENABLED(CONFIG_VIDEO)) { + if (IS_ENABLED(CONFIG_SPL_VIDEO) && spl_phase() > PHASE_SPL && + CONFIG_IS_ENABLED(BLOBLIST)) { + struct video_handoff *ho; + + ho = bloblist_find(BLOBLISTT_U_BOOT_VIDEO, sizeof(*ho)); + if (!ho) + return log_msg_ret("blf", -ENOENT); + video_reserve_from_bloblist(ho); + gd->relocaddr = ho->fb; + } else if (CONFIG_IS_ENABLED(VIDEO)) { ulong addr; int ret; |