From 27b653449178e80b333e7bc5a81eed3bd1bd6861 Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Sun, 3 Nov 2019 16:18:27 -0600 Subject: ARM: omap3_logic: Power on MMC when setting up PMIC The PMIC enables power to the MMC card by default, but depending on the state it was left when restarted, it's possible the MMC may be powered down. This patch patch explicitly tells the twl4030 to power the MMC. Signed-off-by: Adam Ford --- board/logicpd/omap3som/omap3logic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board') diff --git a/board/logicpd/omap3som/omap3logic.c b/board/logicpd/omap3som/omap3logic.c index ee77ce077c..43f049e592 100644 --- a/board/logicpd/omap3som/omap3logic.c +++ b/board/logicpd/omap3som/omap3logic.c @@ -141,6 +141,7 @@ void spl_board_prepare_for_linux(void) int misc_init_r(void) { twl4030_power_init(); + twl4030_power_mmc_init(0); omap_die_id_display(); return 0; } -- cgit From 7e6668e8f0ea9694ec2a417a841bcb86462ceb7d Mon Sep 17 00:00:00 2001 From: Adam Ford Date: Mon, 4 Nov 2019 17:05:24 -0600 Subject: Kconfig: ti: Make board detect EEPROM addresses depend BOARD_DETECT There is an option to enable the board detection for TI platforms. If this is option is not set, there is no reason to set the EEPROM bus address or chip address. This patch makes both EEPROM_BUS_ADDRESS and EEPROM_CHIP_ADDRESS depend on TI_I2C_BOARD_DETECT. Signed-off-by: Adam Ford --- board/ti/common/Kconfig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'board') diff --git a/board/ti/common/Kconfig b/board/ti/common/Kconfig index b1956b8100..9ead7ca038 100644 --- a/board/ti/common/Kconfig +++ b/board/ti/common/Kconfig @@ -8,11 +8,13 @@ config EEPROM_BUS_ADDRESS int "Board EEPROM's I2C bus address" range 0 8 default 0 + depends on TI_I2C_BOARD_DETECT config EEPROM_CHIP_ADDRESS hex "Board EEPROM's I2C chip address" range 0 0xff default 0x50 + depends on TI_I2C_BOARD_DETECT config TI_COMMON_CMD_OPTIONS bool "Enable cmd options on TI platforms" -- cgit