diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-09-04 14:06:56 +0200 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-09-04 14:06:56 +0200 |
commit | e62d5fb0da76ef168e90cae9bbbda80349aaf137 (patch) | |
tree | b5c338d17f0633b7ec2e27d4d8b82dcf153a5281 /board/siemens/common/factoryset.h | |
parent | 4eef93da262048eb1118e726b3ec5b8ebd3c6c91 (diff) | |
parent | 901ce27c6f018992b7dd6c08d3c98cf217cc4c96 (diff) | |
download | u-boot-e62d5fb0da76ef168e90cae9bbbda80349aaf137.zip u-boot-e62d5fb0da76ef168e90cae9bbbda80349aaf137.tar.gz u-boot-e62d5fb0da76ef168e90cae9bbbda80349aaf137.tar.bz2 |
Merge branch 'u-boot-ti/master' into 'u-boot-arm/master'
Diffstat (limited to 'board/siemens/common/factoryset.h')
-rw-r--r-- | board/siemens/common/factoryset.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/board/siemens/common/factoryset.h b/board/siemens/common/factoryset.h new file mode 100644 index 0000000..445f384 --- /dev/null +++ b/board/siemens/common/factoryset.h @@ -0,0 +1,27 @@ +/* + * Common board functions for siemens AM335X based boards + * (C) Copyright 2013 Siemens Schweiz AG + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef __FACTORYSET_H +#define __FACTORYSET_H + +#define MAX_STRING_LENGTH 32 + +struct factorysetcontainer { + uchar mac[6]; + int usb_vendor_id; + int usb_product_id; + int pxm50; +#if defined(CONFIG_VIDEO) + unsigned char disp_name[MAX_STRING_LENGTH]; +#endif +}; + +int factoryset_read_eeprom(int i2c_addr); +int factoryset_setenv(void); +extern struct factorysetcontainer factory_dat; + +#endif /* __FACTORYSET_H */ |