diff options
author | Madan Srinivas <madans@ti.com> | 2016-05-19 19:10:48 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:41:35 -0400 |
commit | a5051b727eaf098a18cf0e77f2cd8e61b71c888a (patch) | |
tree | 406da65e6fbf967a88911cac26d62aad4480bfc9 /board/ti/am43xx/board.c | |
parent | 9aac7d0ec96923a39f8d234f82b82bec5c13f183 (diff) | |
download | u-boot-imx-a5051b727eaf098a18cf0e77f2cd8e61b71c888a.zip u-boot-imx-a5051b727eaf098a18cf0e77f2cd8e61b71c888a.tar.gz u-boot-imx-a5051b727eaf098a18cf0e77f2cd8e61b71c888a.tar.bz2 |
ti: AM43xx: board: Detect AM43xx HS EVM
Adds code to detect AM43xx HS EVMS - the string in the
I2C EEPROM for HS EVMs differs from GP EVMs. Adds code to
for evm detection, regardless of whether the evm is for
GP or HS parts, and updates board init to use that.
Modifies findfdt command to pick up am437x-gp-evm.dtb for
the HS EVMs also, as the boards are similar except for
some security specific changes around power supply and
enclosure protection.
Signed-off-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Daniel Allred <d-allred@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti/am43xx/board.c')
-rw-r--r-- | board/ti/am43xx/board.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/am43xx/board.c b/board/ti/am43xx/board.c index d208d2f..7247107 100644 --- a/board/ti/am43xx/board.c +++ b/board/ti/am43xx/board.c @@ -341,7 +341,7 @@ const struct dpll_params *get_dpll_ddr_params(void) if (board_is_eposevm()) return &epos_evm_dpll_ddr[ind]; - else if (board_is_gpevm() || board_is_sk()) + else if (board_is_evm() || board_is_sk()) return &gp_evm_dpll_ddr; else if (board_is_idk()) return &idk_dpll_ddr; @@ -553,7 +553,7 @@ void sdram_init(void) enable_vtt_regulator(); config_ddr(0, &ioregs_ddr3, NULL, NULL, &ddr3_emif_regs_400Mhz_beta, 0); - } else if (board_is_gpevm()) { + } else if (board_is_evm()) { enable_vtt_regulator(); config_ddr(0, &ioregs_ddr3, NULL, NULL, &ddr3_emif_regs_400Mhz, 0); |