]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: common: Add memory reservation for the video uclass
authorSimon Glass <sjg@chromium.org>
Tue, 19 Jan 2016 02:52:21 +0000 (19:52 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 21 Jan 2016 02:10:15 +0000 (19:10 -0700)
commit5a54194515caa4f4183dc9086938456612749573
tree65c18464f928cbe4763893de46c54c12276be05d
parent8703ef3fdbfda239bcc67818e9b0f6ddaa7f6ad4
dm: common: Add memory reservation for the video uclass

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@chromium.org>
Acked-by: Anatolij Gustschin <agust@denx.de>
common/board_f.c
include/asm-generic/global_data.h