u-boot/board/samsung/common
Przemyslaw Marczak 9d29a682a8 samsung: misc: Add LCD download menu.
This simple LCD menu allows run one of download mode on device
without writing on console or for fast and easy upgrade.

This feature check user keys combination at boot:
- power key + volume up - download menu
- power key + volume down - thor mode (without menu)

New configs:
- CONFIG_LCD_MENU
- CONFIG_LCD_MENU_BOARD

For proper effect this feature needs following definitions:

Power key:
- KEY_PWR_PMIC_NAME - (string) pmic which supports power key check

Register address:
- KEY_PWR_STATUS_REG
- KEY_PWR_INTERRUPT_REG

Register power key mask:
- KEY_PWR_STATUS_MASK
- KEY_PWR_INTERRUPT_MASK

Gpio numbers:
- KEY_PWR_INTERRUPT_MASK
- KEY_VOL_DOWN_GPIO

Functions needs to be called:
- keys_init() - for set proper gpio direction
- check_boot_mode() - menu - main function

Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
2014-02-03 15:36:14 +09:00
..
board.c Exynos5420: Add base patch for SMDK5420 2013-12-30 16:50:34 +09:00
exynos-uboot-spl.lds Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Makefile samsung: common: Add file for common functions, draw_logo() cleanup. 2014-02-03 15:36:14 +09:00
misc.c samsung: misc: Add LCD download menu. 2014-02-03 15:36:14 +09:00
multi_i2c.c samsung:common:i2c: add definions for third soft I2C adapter for Trats2 board 2013-09-25 10:52:33 +09:00
thor.c samsung:common:thor: Define common Samsung code to handle THOR usb descriptor setup 2013-10-20 23:42:41 +02:00
ums.c usb: ums: move ums code from trats to Samsung common directory 2013-11-08 20:46:19 +01:00