2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2016-11-16 16:49:22 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Toradex, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _TDX_COMMON_H
|
|
|
|
#define _TDX_COMMON_H
|
|
|
|
|
|
|
|
#define TORADEX_USB_PRODUCT_NUM_OFFSET 0x4000
|
|
|
|
#define TDX_USB_VID 0x1B67
|
|
|
|
|
2020-06-26 06:13:33 +00:00
|
|
|
int ft_common_board_setup(void *blob, struct bd_info *bd);
|
arm: Disable ATAGs support
With the exceptions of ds109, ds414, icnova-a20-swac, nokia_rx51 and
stemmy, disable ATAG support. A large number of platforms had enabled
support but never supported a kernel so old as to require it. Further,
some platforms are old enough to support both, but are well supported by
devicetree booting, and have been for a number of years. This is
because some of the ATAGs related functions have been re-used to provide
the same kind of information, but for devicetree or just generally to
inform the user. When needed still, rename these functions to
get_board_revision() instead, to avoid conflicts. In other cases, these
functions were simply unused, so drop them.
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Phil Sutter <phil@nwl.cc>
Cc: Stefan Bosch <stefan_b@posteo.net>
Signed-off-by: Tom Rini <trini@konsulko.com>
2021-08-30 13:16:30 +00:00
|
|
|
u32 get_board_revision(void);
|
2016-11-30 21:41:53 +00:00
|
|
|
|
2016-11-16 16:49:22 +00:00
|
|
|
#endif /* _TDX_COMMON_H */
|