
18 Jan
2016
18 Jan
'16
12:39 a.m.
On Tue, 5 Jan 2016 09:31:07 -0700 Simon Glass sjg@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@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@denx.de
-- Anatolij