Convert CONFIG_KEYBOARD to Kconfig
This converts the following to Kconfig: CONFIG_KEYBOARD Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5ae2578a55
commit
93e1edffb0
8
README
8
README
@ -1063,14 +1063,6 @@ The following options need to be configured:
|
||||
- Keyboard Support:
|
||||
See Kconfig help for available keyboard drivers.
|
||||
|
||||
CONFIG_KEYBOARD
|
||||
|
||||
Define this to enable a custom keyboard support.
|
||||
This simply calls drv_keyboard_init() which must be
|
||||
defined in your board-specific files. This option is deprecated
|
||||
and is only used by novena. For new boards, use driver model
|
||||
instead.
|
||||
|
||||
- Video support:
|
||||
CONFIG_FSL_DIU_FB
|
||||
Enable the Freescale DIU video driver. Reference boards for
|
||||
|
@ -194,6 +194,7 @@ config SANDBOX
|
||||
imply PHY_FIXED
|
||||
imply DM_DSA
|
||||
imply CMD_EXTENSION
|
||||
imply KEYBOARD
|
||||
|
||||
config SH
|
||||
bool "SuperH architecture"
|
||||
|
@ -23,6 +23,7 @@ config ARCH_EXYNOS5
|
||||
imply CMD_HASH
|
||||
imply CRC32_VERIFY
|
||||
imply HASH_VERIFY
|
||||
imply KEYBOARD
|
||||
imply USB_ETHER_ASIX
|
||||
imply USB_ETHER_RTL8152
|
||||
imply USB_ETHER_SMSC95XX
|
||||
|
@ -61,6 +61,7 @@ CONFIG_I2C_CROS_EC_TUNNEL=y
|
||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_I2C_MUX=y
|
||||
CONFIG_DM_KEYBOARD=y
|
||||
CONFIG_KEYBOARD=y
|
||||
CONFIG_CROS_EC_KEYB=y
|
||||
CONFIG_CROS_EC=y
|
||||
CONFIG_CROS_EC_SPI=y
|
||||
|
@ -63,6 +63,7 @@ CONFIG_I2C_CROS_EC_TUNNEL=y
|
||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_I2C_MUX=y
|
||||
CONFIG_DM_KEYBOARD=y
|
||||
CONFIG_KEYBOARD=y
|
||||
CONFIG_CROS_EC_KEYB=y
|
||||
CONFIG_CROS_EC=y
|
||||
CONFIG_CROS_EC_SPI=y
|
||||
|
@ -63,6 +63,7 @@ CONFIG_I2C_CROS_EC_TUNNEL=y
|
||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_I2C_MUX=y
|
||||
CONFIG_DM_KEYBOARD=y
|
||||
CONFIG_KEYBOARD=y
|
||||
CONFIG_CROS_EC_KEYB=y
|
||||
CONFIG_CROS_EC=y
|
||||
CONFIG_CROS_EC_SPI=y
|
||||
|
@ -62,6 +62,7 @@ CONFIG_I2C_CROS_EC_TUNNEL=y
|
||||
CONFIG_SYS_I2C_ROCKCHIP=y
|
||||
CONFIG_I2C_MUX=y
|
||||
CONFIG_DM_KEYBOARD=y
|
||||
CONFIG_KEYBOARD=y
|
||||
CONFIG_CROS_EC_KEYB=y
|
||||
CONFIG_CROS_EC=y
|
||||
CONFIG_CROS_EC_SPI=y
|
||||
|
@ -60,6 +60,7 @@ CONFIG_DWC_AHSATA=y
|
||||
CONFIG_SYS_I2C_LEGACY=y
|
||||
CONFIG_SPL_SYS_I2C_LEGACY=y
|
||||
CONFIG_SYS_I2C_MXC=y
|
||||
CONFIG_KEYBOARD=y
|
||||
CONFIG_FSL_USDHC=y
|
||||
CONFIG_PHYLIB=y
|
||||
CONFIG_PHY_MICREL=y
|
||||
|
@ -43,6 +43,7 @@ CONFIG_USE_ENV_SPI_BUS=y
|
||||
CONFIG_ENV_SPI_BUS=1
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_I2C_S3C24X0=y
|
||||
# CONFIG_KEYBOARD is not set
|
||||
CONFIG_SUPPORT_EMMC_BOOT=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
|
@ -38,6 +38,7 @@ CONFIG_USE_ENV_SPI_BUS=y
|
||||
CONFIG_ENV_SPI_BUS=1
|
||||
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
||||
CONFIG_SYS_I2C_S3C24X0=y
|
||||
# CONFIG_KEYBOARD is not set
|
||||
CONFIG_SUPPORT_EMMC_BOOT=y
|
||||
CONFIG_MMC_DW=y
|
||||
CONFIG_MMC_SDHCI=y
|
||||
|
@ -38,6 +38,15 @@ config TPL_DM_KEYBOARD
|
||||
includes methods to start/stop the device, check for available
|
||||
input and update LEDs if the keyboard has them.
|
||||
|
||||
config KEYBOARD
|
||||
bool "Enable legacy keyboard support (deprecated)"
|
||||
help
|
||||
Enable this to enable a custom keyboard support.
|
||||
This simply calls drv_keyboard_init() which must be
|
||||
defined in your board-specific files. This option is deprecated
|
||||
and is only used by novena. For new boards, use driver model
|
||||
instead.
|
||||
|
||||
config CROS_EC_KEYB
|
||||
bool "Enable Chrome OS EC keyboard support"
|
||||
depends on INPUT
|
||||
|
@ -30,7 +30,4 @@
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#endif
|
||||
|
||||
/* Enable keyboard */
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
#endif
|
||||
|
@ -9,7 +9,6 @@
|
||||
#define __CONFIG_H
|
||||
|
||||
/* System configurations */
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
#include "mx6_common.h"
|
||||
|
||||
|
@ -40,14 +40,6 @@
|
||||
#define CONFIG_SANDBOX_SDL
|
||||
#endif
|
||||
|
||||
/* LCD and keyboard require SDL support */
|
||||
#ifdef CONFIG_SANDBOX_SDL
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#define CONFIG_LCD_BMP_RLE8
|
||||
|
||||
#define CONFIG_KEYBOARD
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
#define CONFIG_SYS_IDE_MAXBUS 1
|
||||
#define CONFIG_SYS_ATA_IDE0_OFFSET 0
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
#undef CONFIG_EXYNOS_FB
|
||||
#undef CONFIG_EXYNOS_DP
|
||||
#undef CONFIG_KEYBOARD
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
|
@ -15,8 +15,6 @@
|
||||
#undef CONFIG_EXYNOS_FB
|
||||
#undef CONFIG_EXYNOS_DP
|
||||
|
||||
#undef CONFIG_KEYBOARD
|
||||
|
||||
#define CONFIG_BOARD_COMMON
|
||||
|
||||
#define CONFIG_SMDK5420 /* which is in a SMDK5420 */
|
||||
|
@ -13,6 +13,4 @@
|
||||
|
||||
#include <configs/rk3288_common.h>
|
||||
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
#endif
|
||||
|
@ -641,7 +641,6 @@ CONFIG_JFFS2_SUMMARY
|
||||
CONFIG_JRSTARTR_JR0
|
||||
CONFIG_JTAG_CONSOLE
|
||||
CONFIG_KEEP_SERVERADDR
|
||||
CONFIG_KEYBOARD
|
||||
CONFIG_KEY_REVOCATION
|
||||
CONFIG_KIRKWOOD_EGIGA_INIT
|
||||
CONFIG_KIRKWOOD_GPIO
|
||||
|
Loading…
Reference in New Issue
Block a user