summaryrefslogtreecommitdiffstats
path: root/board/ti/am335x/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/ti/am335x/board.h')
-rw-r--r--board/ti/am335x/board.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/ti/am335x/board.h b/board/ti/am335x/board.h
index 062c34512f..9776df7959 100644
--- a/board/ti/am335x/board.h
+++ b/board/ti/am335x/board.h
@@ -47,6 +47,11 @@ static inline int board_is_evm_15_or_later(void)
strncmp("1.5", board_ti_get_rev(), 3) <= 0);
}
+static inline int board_is_icev2(void)
+{
+ return board_ti_is("A335_ICE") && !strncmp("2", board_ti_get_rev(), 1);
+}
+
/*
* We have three pin mux functions that must exist. We must be able to enable
* uart0, for initial output and i2c0 to read the main EEPROM. We then have a
OpenPOWER on IntegriCloud