mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
a2777ecb9d
Add Toradex factory configuration block handling. The config block is a data structure which gets stored to flash during production testing. The structure holds such information as board resp. hardware revision, product ID and serial number which is used as the NIC part of the Ethernet MAC address as well. The config block will be read upon boot by the show_board_info() function, displayed as part of the board information and passed to Linux via device tree or ATAGs. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
13 lines
232 B
C
13 lines
232 B
C
/*
|
|
* Copyright (c) 2016 Toradex, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _TDX_COMMON_H
|
|
#define _TDX_COMMON_H
|
|
|
|
#define TORADEX_USB_PRODUCT_NUM_OFFSET 0x4000
|
|
#define TDX_USB_VID 0x1B67
|
|
|
|
#endif /* _TDX_COMMON_H */
|