]> git.dujemihanovic.xyz Git - u-boot.git/commit
board/BuR/tseries: take usage of CONFIG_LCD_ROTATION
authorHannes Petermaier <oe5hpm@oevsv.at>
Fri, 24 Apr 2015 12:49:35 +0000 (14:49 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 8 May 2015 21:24:17 +0000 (17:24 -0400)
commitd804452bf4e4484d2ea305f3d4dc7ba219298fb3
treee77e416c68c4ab9def872b7a70b725872ae1c4b6
parent87f02d5aeef53bc2028b433a4c02ef2b2eea8c87
board/BuR/tseries: take usage of CONFIG_LCD_ROTATION

We take use of the new LCD_ROTATION feature.
The information about how the display is rotated is taken from B&R specific
(/factory-settings/rotation) information in the devicetree.

The information there is stored as string (cw, ud, ccw, none) since starting
support of this devices and cannot be changed, so we have to convert it into

none = 0
cw   = 1
ud   = 2
ccw  = 3

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