diff options
author | Markus Klotzbuecher <mk@denx.de> | 2006-04-25 10:03:01 +0200 |
---|---|---|
committer | Markus Klotzbuecher <mk@pollux.denx.de> | 2006-04-25 10:03:01 +0200 |
commit | 71ae411a63a32aad5151bc2e1d9c0aeff97edaa8 (patch) | |
tree | 1c2398b08a45766d125d1d1fd21434ae75bbea16 /include/configs/delta.h | |
parent | 76544f80e476a7a0cc3a0bbce853354f2c6a61e2 (diff) | |
download | u-boot-imx-71ae411a63a32aad5151bc2e1d9c0aeff97edaa8.zip u-boot-imx-71ae411a63a32aad5151bc2e1d9c0aeff97edaa8.tar.gz u-boot-imx-71ae411a63a32aad5151bc2e1d9c0aeff97edaa8.tar.bz2 |
delta board: support for magic key detection and handling.
Diffstat (limited to 'include/configs/delta.h')
-rw-r--r-- | include/configs/delta.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/delta.h b/include/configs/delta.h index e4c8cca..91284fd 100644 --- a/include/configs/delta.h +++ b/include/configs/delta.h @@ -66,6 +66,17 @@ #define CFG_I2C_INIT_BOARD 1 /* #define CONFIG_HW_WATCHDOG 1 /\* Required for hitting the DA9030 WD *\/ */ +#define DELTA_CHECK_KEYBD 1 /* check for keys pressed during boot */ +#define CONFIG_PREBOOT "\0" + +#ifdef DELTA_CHECK_KEYBD +# define KEYBD_DATALEN 4 /* we have four keys */ +# define KEYBD_KP_DKIN0 0x1 /* vol+ */ +# define KEYBD_KP_DKIN1 0x2 /* vol- */ +# define KEYBD_KP_DKIN2 0x3 /* multi */ +# define KEYBD_KP_DKIN5 0x4 /* SWKEY_GN */ +#endif /* DELTA_CHECK_KEYBD */ + /* * select serial console configuration */ |