mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 03:08:31 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
27 lines
522 B
C
27 lines
522 B
C
/*
|
|
* (C) Copyright 2011 CompuLab, Ltd. <www.compulab.co.il>
|
|
*
|
|
* Authors: Nikita Kiryanov <nikita@compulab.co.il>
|
|
* Igor Grinberg <grinberg@compulab.co.il>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _EEPROM_
|
|
#define _EEPROM_
|
|
|
|
#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
|