summaryrefslogtreecommitdiffstats
path: root/board/cm_t35/eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/cm_t35/eeprom.h')
-rw-r--r--board/cm_t35/eeprom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/board/cm_t35/eeprom.h b/board/cm_t35/eeprom.h
index ec772c6710..38824d162b 100644
--- a/board/cm_t35/eeprom.h
+++ b/board/cm_t35/eeprom.h
@@ -23,11 +23,16 @@
#ifdef CONFIG_DRIVER_OMAP34XX_I2C
int cm_t3x_eeprom_read_mac_addr(uchar *buf);
+u32 cm_t3x_eeprom_get_board_rev(void);
#else
static inline int cm_t3x_eeprom_read_mac_addr(uchar *buf)
{
return 1;
}
+static inline u32 cm_t3x_eeprom_get_board_rev(void)
+{
+ return 0;
+}
#endif
#endif
OpenPOWER on IntegriCloud