]> git.ipfire.org Git - people/ms/u-boot.git/commit - include/configs/brppt1.h
board/BuR/tseries: Add simplefb support
authorHannes Petermaier <oe5hpm@oevsv.at>
Fri, 24 Apr 2015 12:49:37 +0000 (14:49 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 May 2015 21:24:17 +0000 (17:24 -0400)
commit99f724721130d8606e04c3bd46e7232db06c4dad
treead0daff2164b74198a396490a482aca29c2ce911
parent10c63f2ebe1172864ff0e0406c29759044bc420e
board/BuR/tseries: Add simplefb support

Since the used AM3352 SoC doesn't have GPU it isn't allways necessary to build
in complete drm-stuff into linux kernel. In very small applications only we use
the simple-framebuffer.

So we have 2 use-cases:
- device operating on drm-driver (let simplefb node disabled)
- device operating on simplefb-driver (activate simplefb node and reserve mem)

The decision is made by means of "simplefb" environment variable.

simplefb = 0
we don't enable the (maybe) existing simplefb node and all the rest around
display is up to the linux-kernel. We just disable the backlight, beceause we
do not want see the flicker during take over of drm-driver.

simplefb = 1
we enable the (maybe) existing simplefb node and reserve framebuffers size
in memory.

Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
board/BuR/common/common.c
include/configs/tseries.h