blob: 39e0378a5ae3474332013eb89f23907aef709aad [file] [log] [blame]
Grzegorz Bernacki5c4fa9b2009-03-17 10:06:40 +01001/*
2 * (C) Copyright 2009 Semihalf.
3 * Written by: Grzegorz Bernacki <gjb@semihalf.com>
4 *
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.
9 *
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.
14 *
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,
18 * MA 02111-1307 USA
19 *
20 */
21#ifndef CMD_EEPROM_H
22#define CMD_EEPROM_H
23
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 */
31
32#endif