[U-Boot] [PATCH 11/18] dm: common: Add memory reservation for the video uclass

Anatolij Gustschin agust at denx.de
Mon Jan 18 00:39:25 CET 2016


On Tue,  5 Jan 2016 09:31:07 -0700
Simon Glass <sjg at chromium.org> wrote:

> Before relocation we need to reserve memory for the video driver frame
> buffers so that they can use this memory when they start up (after
> relocation). Add a call to the uclass to permit this.
> 
> The current top and bottom of the region is stored in global_data so that
> it can be checked post-relocation to ensure enough memory is available. No
> video device should be probed before relocation.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
>  common/board_f.c                  | 47 +++++++++++++++++++++++++++++----------
>  include/asm-generic/global_data.h |  4 ++++
>  2 files changed, 39 insertions(+), 12 deletions(-)

Acked-by: Anatolij Gustschin <agust at denx.de>

--
Anatolij



More information about the U-Boot mailing list