]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/cm_t35/eeprom.h
cm-t35: print PCB revision information
[karo-tx-uboot.git] / board / cm_t35 / eeprom.h
index ec772c6710d54b012541143ddc4313bc06f2a925..38824d162b2b617989495277dbb0bd62e45352d8 100644 (file)
 
 #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