diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2017-07-16 19:59:19 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-07-26 11:26:49 -0400 |
commit | f70a427268b633cf6c0bae093565d12f5eac6ae0 (patch) | |
tree | 0fe83980a96e1638ba37c4d30dddecd426da5896 /board/ti | |
parent | 7087922477a08bd1c06bcb5a280ff5e81065ec30 (diff) | |
download | u-boot-f70a427268b633cf6c0bae093565d12f5eac6ae0.tar.gz u-boot-f70a427268b633cf6c0bae093565d12f5eac6ae0.tar.xz u-boot-f70a427268b633cf6c0bae093565d12f5eac6ae0.zip |
board: ti: x15: Add support for beagle_X15 revC
BeagleBoard X15 revC board is similar to X15 revB1 except
with a SR2.0 where revB1 uses a SR1.1. Add board detection
support for revC.
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/ti')
-rw-r--r-- | board/ti/am57xx/board.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index 6e248d6b1a..00a31a97fd 100644 --- a/board/ti/am57xx/board.c +++ b/board/ti/am57xx/board.c @@ -37,6 +37,8 @@ #define board_is_x15() board_ti_is("BBRDX15_") #define board_is_x15_revb1() (board_ti_is("BBRDX15_") && \ !strncmp("B.10", board_ti_get_rev(), 3)) +#define board_is_x15_revc() (board_ti_is("BBRDX15_") && \ + !strncmp("C.00", board_ti_get_rev(), 3)) #define board_is_am572x_evm() board_ti_is("AM572PM_") #define board_is_am572x_evm_reva3() \ (board_ti_is("AM572PM_") && \ @@ -474,6 +476,8 @@ static void setup_board_eeprom_env(void) if (board_is_x15()) { if (board_is_x15_revb1()) name = "beagle_x15_revb1"; + else if (board_is_x15_revc()) + name = "beagle_x15_revc"; else name = "beagle_x15"; } else if (board_is_am572x_evm()) { @@ -683,7 +687,8 @@ void recalibrate_iodelay(void) /* Now do the weird minor deltas that should be safe */ if (board_is_x15() || board_is_am572x_evm()) { - if (board_is_x15_revb1() || board_is_am572x_evm_reva3()) { + if (board_is_x15_revb1() || board_is_am572x_evm_reva3() || + board_is_x15_revc()) { pconf = core_padconf_array_delta_x15_sr2_0; pconf_sz = ARRAY_SIZE(core_padconf_array_delta_x15_sr2_0); } else { |