diff options
author | Hannes Petermaier <oe5hpm@oevsv.at> | 2015-02-03 12:22:26 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-06 01:13:16 (GMT) |
commit | fbd5aeda481526c5c23cb913461378423bdb2137 (patch) | |
tree | a44f29f8655bdeca02bbd980dcfdd5cb9a11caff /include | |
parent | 1b7caf1123facf67816b03675952a5c700d0db9e (diff) | |
download | u-boot-fbd5aeda481526c5c23cb913461378423bdb2137.tar.xz |
board/BuR/common: Take usage of am335x LCD-Display
a summary screen to the lcd.
Values are taken from environment and or devicetree blob.
Signed-off-by: Hannes Petermaier <oe5hpm@oevsv.at>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/tseries.h | 8 | ||||
-rw-r--r-- | include/power/tps65217.h | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 9a62070..9ad294f 100644 --- a/include/configs/tseries.h +++ b/include/configs/tseries.h @@ -14,6 +14,12 @@ #include <configs/bur_am335x_common.h> /* ------------------------------------------------------------------------- */ +#define CONFIG_AM335X_LCD +#define CONFIG_LCD +#define CONFIG_LCD_NOSTDOUT +#define CONFIG_SYS_WHITE_ON_BLACK +#define LCD_BPP LCD_COLOR32 + /* Clock Defines */ #define V_OSCK 26000000 /* Clock output from T2 */ #define V_SCLK (V_OSCK) @@ -22,6 +28,8 @@ /* Support both device trees and ATAGs. */ #define CONFIG_OF_LIBFDT +#define CONFIG_USE_FDT /* use fdt within board code */ +#define CONFIG_OF_BOARD_SETUP #define CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS #define CONFIG_INITRD_TAG diff --git a/include/power/tps65217.h b/include/power/tps65217.h index 297c4cb..93cbe36 100644 --- a/include/power/tps65217.h +++ b/include/power/tps65217.h @@ -73,6 +73,7 @@ enum { #define TPS65217_LDO_VOLTAGE_OUT_1_8 0x06 #define TPS65217_LDO_VOLTAGE_OUT_3_3 0x1F +#define TPS65217_PWR_OFF 0x80 #define TPS65217_PWR_SRC_USB_BITMASK 0x4 #define TPS65217_PWR_SRC_AC_BITMASK 0x8 |