]> git.sur5r.net Git - u-boot/commit
sunxi: video: Dynamically reserve framebuffer memory
authorHans de Goede <hdegoede@redhat.com>
Mon, 2 Feb 2015 17:00:53 +0000 (18:00 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 16 Feb 2015 18:44:38 +0000 (19:44 +0100)
commit20779ec3a5d7b3cad4fdc960d9e2e898fab259b3
tree0172c13b15aa9acaede048306a78224ff97f5f86
parent5633a296ebb970d0a6be839fb37eaf8a11aa35f8
sunxi: video: Dynamically reserve framebuffer memory

Only use CONFIG_SUNXI_MAX_FB_SIZE to reserve memory at the top when relocating
u-boot, and calculate the actual amount of memory necessary when setting up
the video-mode and use only that, freeing up some additional memory for use
by the kernel.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/video/sunxi_display.c