[U-Boot] [PATCH v2 07/14] dm: common: Add memory reservation for the video uclass

Simon Glass sjg at chromium.org
Thu Jan 21 16:19:06 CET 2016


On 18 January 2016 at 19:52, 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>
> Acked-by: Anatolij Gustschin <agust at denx.de>
> ---
>
> Changes in v2: None
>
>  common/board_f.c                  | 47 +++++++++++++++++++++++++++++----------
>  include/asm-generic/global_data.h |  4 ++++
>  2 files changed, 39 insertions(+), 12 deletions(-)

Applied to u-boot-dm


More information about the U-Boot mailing list