2 * (C) Copyright 2009 Semihalf.
3 * Written by: Grzegorz Bernacki <gjb@semihalf.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the anty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24 #define EEPROM_ADDR CONFIG_SYS_I2C_EEPROM_ADDR
25 #define EEPROM_LEN 1024 /* eeprom length */
26 #define EEPROM_IDENT 2408 /* identification word */
27 #define EEPROM_ADDR_IDENT 0 /* identification word offset */
28 #define EEPROM_ADDR_LEN_SYS 2 /* system area lenght offset */
29 #define EEPROM_ADDR_LEN_SYSCFG 4 /* system config area length offset */
30 #define EEPROM_ADDR_ETHADDR 23 /* ethernet addres offset */