blob: fd1155536f2602ae60f18753062ff0722b02cefc [file] [log] [blame]
Grzegorz Bernackiafc9d6d2009-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 */
Mike Williamsbf895ad2011-07-22 04:01:30 +000030#define EEPROM_ADDR_ETHADDR 23 /* ethernet address offset */
Grzegorz Bernackiafc9d6d2009-03-17 10:06:40 +010031
32#endif