diff options
author | Tom Rini <trini@ti.com> | 2013-08-30 16:28:46 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-09-20 16:57:35 -0400 |
commit | 9721027aae63aab072de6ee8eae68d8e684b3af3 (patch) | |
tree | 8e04a61e54b6940f06985adf171e433511f9af27 /include | |
parent | 5287946c0612e55f948b6ccbe2beaaffb78130ef (diff) | |
download | u-boot-imx-9721027aae63aab072de6ee8eae68d8e684b3af3.zip u-boot-imx-9721027aae63aab072de6ee8eae68d8e684b3af3.tar.gz u-boot-imx-9721027aae63aab072de6ee8eae68d8e684b3af3.tar.bz2 |
am335x_evm: am33xx_spl_board_init function and scale core frequency
Add a am33xx_spl_board_init (and enable the PMICs) that we may see,
depending on the board we are running on. In all cases, we see if we
can rely on the efuse_sma register to tell us the maximum speed. In the
case of Beaglebone White, we need to make sure we are on AC power, and
are on later than rev A1, and then we can ramp up to the PG1.0 maximum
of 720Mhz. In the case of Beaglebone Black, we are either on PG2.0 that
supports 1GHz or PG2.1. As PG2.0 may or may not have efuse_sma set, we
cannot rely on this probe. In the case of the GP EVM, EVM SK and IDK we
need to rely on the efuse_sma if we are on PG2.1, and the defaults for
PG1.0/2.0.
Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/am335x_evm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 3de30fc..0c3384c 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -189,8 +189,13 @@ #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2 #define CONFIG_SYS_I2C_MULTI_EEPROMS +/* PMIC support */ +#define CONFIG_POWER_TPS65217 +#define CONFIG_POWER_TPS65910 + /* SPL */ #ifndef CONFIG_NOR_BOOT +#define CONFIG_SPL_POWER_SUPPORT #define CONFIG_SPL_YMODEM_SUPPORT /* CPSW support */ |