config: ti_omap5_common: Palmas power support in SPL
authorPaul Kocialkowski <contact@paulk.fr>
Wed, 1 Jul 2015 22:20:25 +0000 (00:20 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:01:51 +0000 (15:01 -0400)
Palmas power support is required for OMAP5 devices such as the OMAP5 uEVM, that
need to e.g. enable MMC power at SPL stage.

This is especially important when booting from a peripheral (such as USB, UART),
where the bootrom will not enable power for the MMC device that will hold the
main U-Boot.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/ti_armv7_common.h
include/configs/ti_omap5_common.h

index 0aea7d1..34756de 100644 (file)
 #define CONFIG_SPL_LIBCOMMON_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
+#define CONFIG_SPL_POWER_SUPPORT
 #define CONFIG_SPL_GPIO_SUPPORT
 #define CONFIG_SPL_BOARD_INIT
 
index 4179a57..b33feb6 100644 (file)
@@ -40,9 +40,7 @@
 #define CONFIG_SYS_DEFAULT_LPDDR2_TIMINGS
 #endif
 
-#ifndef CONFIG_SPL_BUILD
 #define CONFIG_PALMAS_POWER
-#endif
 
 #include <asm/arch/cpu.h>
 #include <asm/arch/omap.h>