mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-25 20:43:32 +00:00
d77c6fbd3f
Drop this old code which is not built anymore, as it depends on CONFIG_VIDEO which has been removed. Signed-off-by: Simon Glass <sjg@chromium.org>
30 lines
698 B
C
30 lines
698 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Common board functions for siemens AM335X based boards
|
|
* (C) Copyright 2013 Siemens Schweiz AG
|
|
*/
|
|
|
|
#ifndef __FACTORYSET_H
|
|
#define __FACTORYSET_H
|
|
|
|
#define MAX_STRING_LENGTH 32
|
|
|
|
struct factorysetcontainer {
|
|
uchar mac[6];
|
|
#if CONFIG_IS_ENABLED(TARGET_GIEDI) || CONFIG_IS_ENABLED(TARGET_DENEB)
|
|
uchar mac_wlan[6];
|
|
#endif
|
|
int usb_vendor_id;
|
|
int usb_product_id;
|
|
int pxm50;
|
|
unsigned char serial[MAX_STRING_LENGTH];
|
|
int version;
|
|
uchar asn[MAX_STRING_LENGTH];
|
|
uchar comp_version[MAX_STRING_LENGTH];
|
|
};
|
|
|
|
int factoryset_read_eeprom(int i2c_addr);
|
|
int factoryset_env_set(void);
|
|
extern struct factorysetcontainer factory_dat;
|
|
|
|
#endif /* __FACTORYSET_H */
|