mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
Convert CONFIG_CMD_BAT to Kconfig
This converts the following to Kconfig: CONFIG_CMD_BAT Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4848d89d1f
commit
ac60e46e7d
4 changed files with 4 additions and 6 deletions
|
@ -9,4 +9,7 @@ config SYS_VENDOR
|
||||||
config SYS_CONFIG_NAME
|
config SYS_CONFIG_NAME
|
||||||
default "omap4_sdp4430"
|
default "omap4_sdp4430"
|
||||||
|
|
||||||
|
config CMD_BAT
|
||||||
|
bool "Enable board-specific battery command"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -4,6 +4,7 @@ CONFIG_ARM=y
|
||||||
CONFIG_ARCH_OMAP2PLUS=y
|
CONFIG_ARCH_OMAP2PLUS=y
|
||||||
CONFIG_OMAP44XX=y
|
CONFIG_OMAP44XX=y
|
||||||
CONFIG_TARGET_OMAP4_SDP4430=y
|
CONFIG_TARGET_OMAP4_SDP4430=y
|
||||||
|
CONFIG_CMD_BAT=y
|
||||||
# CONFIG_SPL_NAND_SUPPORT is not set
|
# CONFIG_SPL_NAND_SUPPORT is not set
|
||||||
CONFIG_DISTRO_DEFAULTS=y
|
CONFIG_DISTRO_DEFAULTS=y
|
||||||
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
CONFIG_SYS_CONSOLE_IS_IN_ENV=y
|
||||||
|
|
|
@ -21,11 +21,6 @@
|
||||||
|
|
||||||
#include <configs/ti_omap4_common.h>
|
#include <configs/ti_omap4_common.h>
|
||||||
|
|
||||||
/* Battery Charger */
|
|
||||||
#ifndef CONFIG_SPL_BUILD
|
|
||||||
#define CONFIG_CMD_BAT 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* ENV related config options */
|
/* ENV related config options */
|
||||||
#define CONFIG_ENV_IS_IN_MMC 1
|
#define CONFIG_ENV_IS_IN_MMC 1
|
||||||
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
|
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
|
||||||
|
|
|
@ -393,7 +393,6 @@ CONFIG_CM922T_XA10
|
||||||
CONFIG_CMDLINE_EDITING
|
CONFIG_CMDLINE_EDITING
|
||||||
CONFIG_CMDLINE_PS_SUPPORT
|
CONFIG_CMDLINE_PS_SUPPORT
|
||||||
CONFIG_CMDLINE_TAG
|
CONFIG_CMDLINE_TAG
|
||||||
CONFIG_CMD_BAT
|
|
||||||
CONFIG_CMD_BEDBUG
|
CONFIG_CMD_BEDBUG
|
||||||
CONFIG_CMD_BLOB
|
CONFIG_CMD_BLOB
|
||||||
CONFIG_CMD_BMODE
|
CONFIG_CMD_BMODE
|
||||||
|
|
Loading…
Add table
Reference in a new issue