]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:38:41 +0000 (22:38 +0200)
commit48af3e8f86783ff032b5b3e3729b4a06b25c9359
tree47dc8cbe45c46468bc85e655a452d2888931ec5d
parent255f3e34bbdcfc992244dd916b5c230b8f364834
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