blob: 17bd034072f9246a5e1c12add8ef693c0fb1f535 [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 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Grzegorz Bernackiafc9d6d2009-03-17 10:06:40 +01006 */
7#ifndef CMD_EEPROM_H
8#define CMD_EEPROM_H
9
10#define EEPROM_ADDR CONFIG_SYS_I2C_EEPROM_ADDR
11#define EEPROM_LEN 1024 /* eeprom length */
12#define EEPROM_IDENT 2408 /* identification word */
13#define EEPROM_ADDR_IDENT 0 /* identification word offset */
14#define EEPROM_ADDR_LEN_SYS 2 /* system area lenght offset */
15#define EEPROM_ADDR_LEN_SYSCFG 4 /* system config area length offset */
Mike Williamsbf895ad2011-07-22 04:01:30 +000016#define EEPROM_ADDR_ETHADDR 23 /* ethernet address offset */
Grzegorz Bernackiafc9d6d2009-03-17 10:06:40 +010017
18#endif