mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge patch series "Move framebuffer reservation for SPL to RAM end"
Devarsh Thakkar <devarsht@ti.com> says: Move video memory reservation for SPL at end of RAM so that it does not interefere with reservations for next stage so that the next stage need not have holes in between for passed regions and instead it can maintain continuity in reservations. Also catch the bloblist before starting reservations to avoid the same problem. While at it, also fill missing fields in video handoff struct before passing it to next stage. This is as per discussions at : For moving SPL framebuffer reservation at end of RAM: https://lore.kernel.org/all/CAPnjgZ3xSoe_G3yrqwuAvoiVjUfZ+YQgkOR0ZTVXGT9VK8TwJg@mail.gmail.com/ For filling missing video handoff fields : https://lore.kernel.org/all/CAPnjgZ1Hs0rNf0JDirp6YPsOQ5=QqQSP9g9qRwLoOASUV8a4cw@mail.gmail.com/
This commit is contained in:
@@ -889,6 +889,16 @@ int spl_usb_load(struct spl_image_info *spl_image,
|
||||
|
||||
int spl_ymodem_load_image(struct spl_image_info *spl_image,
|
||||
struct spl_boot_device *bootdev);
|
||||
/**
|
||||
* spl_reserve_video_from_ram_top() - Reserve framebuffer memory from end of RAM
|
||||
*
|
||||
* This enforces framebuffer reservation at SPL stage from end of RAM so that
|
||||
* next stage can directly skip this pre-reserved area before carrying out
|
||||
* further reservations. The allocation address is stored in struct video_uc_plat.
|
||||
*
|
||||
* Return: 0 on success, otherwise error code
|
||||
*/
|
||||
int spl_reserve_video_from_ram_top(void);
|
||||
|
||||
/**
|
||||
* spl_invoke_atf - boot using an ARM trusted firmware image
|
||||
|
||||
Reference in New Issue
Block a user