blob: 445f3842da13c036c546abd241ea76280722820e [file] [log] [blame]
Heiko Schocherc0dcece2013-08-19 16:39:01 +02001/*
2 * Common board functions for siemens AM335X based boards
3 * (C) Copyright 2013 Siemens Schweiz AG
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7
8#ifndef __FACTORYSET_H
9#define __FACTORYSET_H
10
11#define MAX_STRING_LENGTH 32
12
13struct factorysetcontainer {
14 uchar mac[6];
15 int usb_vendor_id;
16 int usb_product_id;
17 int pxm50;
18#if defined(CONFIG_VIDEO)
19 unsigned char disp_name[MAX_STRING_LENGTH];
20#endif
21};
22
23int factoryset_read_eeprom(int i2c_addr);
24int factoryset_setenv(void);
25extern struct factorysetcontainer factory_dat;
26
27#endif /* __FACTORYSET_H */