blob: ec772c6710d54b012541143ddc4313bc06f2a925 [file] [log] [blame]
Nikita Kiryanove4e2bf52012-01-12 03:28:09 +00001/*
2 * (C) Copyright 2011 CompuLab, Ltd. <www.compulab.co.il>
3 *
4 * Authors: Nikita Kiryanov <nikita@compulab.co.il>
5 * Igor Grinberg <grinberg@compulab.co.il>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc.
20 */
21#ifndef _EEPROM_
22#define _EEPROM_
23
24#ifdef CONFIG_DRIVER_OMAP34XX_I2C
25int cm_t3x_eeprom_read_mac_addr(uchar *buf);
26#else
27static inline int cm_t3x_eeprom_read_mac_addr(uchar *buf)
28{
29 return 1;
30}
31#endif
32
33#endif