blob: a5ef5abbafd83af6370b4b4f6fa9bbab4874ee7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright Siemens AG 2023
*
* Common board definitions for siemens boards
*/
#ifndef _COMMON_EEPROM_H_
#define _COMMON_EEPROM_H_
/* EEPROM @ I2C */
#define SIEMENS_EE_I2C_BUS 0
#define SIEMENS_EE_I2C_ADDR 0x50
/* EEPROM mapping */
#define SIEMENS_EE_ADDR_NAND_GEO 0x80
#define SIEMENS_EE_ADDR_DDR3 0x90
#define SIEMENS_EE_ADDR_CHIP 0x120
#define SIEMENS_EE_ADDR_FACTORYSET 0x400
int siemens_ee_setup(void);
int siemens_ee_read_data(uint address, uchar *buffer, int len);
#endif /* _COMMON_EEPROM_H_ */
|