diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-01-22 11:24:17 +0100 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-02-03 15:36:14 +0900 |
commit | 9d29a682a8dbe40b8d1af45197a87d49472fc105 (patch) | |
tree | d53aaa522b66577c93125080053d8f1d1b4dde17 /board/htkw | |
parent | 2df21cb3ea478766ee4a8d9f0dc6640a58df721b (diff) | |
download | u-boot-imx-9d29a682a8dbe40b8d1af45197a87d49472fc105.zip u-boot-imx-9d29a682a8dbe40b8d1af45197a87d49472fc105.tar.gz u-boot-imx-9d29a682a8dbe40b8d1af45197a87d49472fc105.tar.bz2 |
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>
Diffstat (limited to 'board/htkw')
0 files changed, 0 insertions, 0 deletions