Commit
ac60e46e7d316cdcec44d01a7c19e13dedd00b49
Exists in
smarc_8mq_lf_v2020.04
and in
18 other branches
8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0
Convert CONFIG_CMD_BAT to Kconfig
This converts the following to Kconfig:
CONFIG_CMD_BAT
Signed-off-by: Simon Glass <sjg@chromium.org>
Showing
4 changed files
with
4 additions
and
6 deletions
Side-by-side Diff
... |
... |
@@ -9,5 +9,8 @@ |
9
|
9 |
config SYS_CONFIG_NAME |
10
|
10 |
default "omap4_sdp4430" |
11
|
11 |
|
|
12 |
+config CMD_BAT |
|
13 |
+ bool "Enable board-specific battery command" |
|
14 |
+ |
12
|
15 |
endif |
... |
... |
@@ -4,6 +4,7 @@ |
4
|
4 |
CONFIG_ARCH_OMAP2PLUS=y |
5
|
5 |
CONFIG_OMAP44XX=y |
6
|
6 |
CONFIG_TARGET_OMAP4_SDP4430=y |
|
7 |
+CONFIG_CMD_BAT=y |
7
|
8 |
# CONFIG_SPL_NAND_SUPPORT is not set |
8
|
9 |
CONFIG_DISTRO_DEFAULTS=y |
9
|
10 |
CONFIG_SYS_CONSOLE_IS_IN_ENV=y |
... |
... |
@@ -21,11 +21,6 @@ |
21
|
21 |
|
22
|
22 |
#include <configs/ti_omap4_common.h> |
23
|
23 |
|
24
|
|
-/* Battery Charger */ |
25
|
|
-#ifndef CONFIG_SPL_BUILD |
26
|
|
-#define CONFIG_CMD_BAT 1 |
27
|
|
-#endif |
28
|
|
- |
29
|
24 |
/* ENV related config options */ |
30
|
25 |
#define CONFIG_ENV_IS_IN_MMC 1 |
31
|
26 |
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */ |
... |
... |
@@ -393,7 +393,6 @@ |
393
|
393 |
CONFIG_CMDLINE_EDITING |
394
|
394 |
CONFIG_CMDLINE_PS_SUPPORT |
395
|
395 |
CONFIG_CMDLINE_TAG |
396
|
|
-CONFIG_CMD_BAT |
397
|
396 |
CONFIG_CMD_BEDBUG |
398
|
397 |
CONFIG_CMD_BLOB |
399
|
398 |
CONFIG_CMD_BMODE |