u-boot-brain/board/toradex/common/tdx-common.h
Stefan Agner 37fa41256b toradex: allow custom fdt board setup in board file
The config block support currently uses the ft_board_setup function
to patch the device tree with config block information. However, this
does not allow to patch the device tree with board specific information.
Rename the common setup function to ft_common_board_setup and use the
call it from the board files directly.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
2016-12-16 09:56:38 +01:00

16 lines
282 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
int ft_common_board_setup(void *blob, bd_t *bd);
#endif /* _TDX_COMMON_H */