diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-02-02 17:13:29 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-02-16 19:40:59 +0100 |
commit | 5633a296ebb970d0a6be839fb37eaf8a11aa35f8 (patch) | |
tree | 454f1f463fbca981853c5865bd85c292da84ea85 /board/ttcontrol/vision2 | |
parent | 8910a7d37a0c0c7b73c8b1e6175966d58979ba5c (diff) | |
download | u-boot-imx-5633a296ebb970d0a6be839fb37eaf8a11aa35f8.zip u-boot-imx-5633a296ebb970d0a6be839fb37eaf8a11aa35f8.tar.gz u-boot-imx-5633a296ebb970d0a6be839fb37eaf8a11aa35f8.tar.bz2 |
sunxi: video: Do not use CONFIG_SYS_MEM_TOP_HIDE for the framebuffer
Do not use CONFIG_SYS_MEM_TOP_HIDE for the framebuffer, instead override
board_get_usable_ram_top to make sure that u-boot is not relocated into the
area where we want to use the framebuffer, and patch the devicetree from
sunxi_simplefb_setup() to tell the kernel to not touch the framebuffer.
This makes u-boot properly see the framebuffer as dram, and initalize the
level 2 cache for it, fixing the very slow cfb scrolling problem.
As an added bonus this stops us from reserving the framebuffer when simplefb
is not used because an older kernel is booted, or hdp is used and no hdmi
cable was plugged in, freeing up the memory for kernel use in these cases.
Reported-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/ttcontrol/vision2')
0 files changed, 0 insertions, 0 deletions