]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sunxi: video: Add cfb console driver for sunxi
authorLuc Verhaegen <libv@skynet.be>
Wed, 13 Aug 2014 05:55:06 +0000 (07:55 +0200)
committerHans de Goede <hdegoede@redhat.com>
Tue, 25 Nov 2014 12:38:46 +0000 (13:38 +0100)
commit7f2c521f90f546fd4077038730196e0990da933c
tree1de6d711278cf7c12f20c2876cda722fa91a0ee7
parent0bd51251331a341dae8c19ae2e36a3262ae2ef72
sunxi: video: Add cfb console driver for sunxi

This adds a fixed mode hdmi driver for the sunxi platform. The fixed
mode is a relatively safe 1024x768, more complete EDID handling is
currently not provided. Only HDMI is supported today.

This code is enabled when HPD detects an attached monitor.

Current config is such that 8MB is shaved off at the top of the RAM.
This avoids several memory handling issues, most significant is the fact
that on linux on ARM you are not allowed to remap known RAM as IO. A
clued in display driver will be able to recycle this reserved RAM in
future though.

cfbconsole was chosen as it provides the most important functionality: a
working u-boot console, allowing for the debugging of certain issues
without the need for a UART.

Signed-off-by: Luc Verhaegen <libv@skynet.be>
[hdegoede@redhat.com: Major cleanups and some small bugfixes]
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/display.h [new file with mode: 0644]
board/sunxi/Kconfig
configs/A13-OLinuXinoM_defconfig
configs/A13-OLinuXino_defconfig
configs/Ippo_q8h_v5_defconfig
drivers/video/Makefile
drivers/video/sunxi_display.c [new file with mode: 0644]
include/configs/sunxi-common.h