mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-24 16:32:20 +00:00
2a18be77de
Add an api soc_is_j721e(), and use it to enable certain functionality that is available only on j721e. This detection is needed when DT is not available. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>
21 lines
609 B
C
21 lines
609 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/
|
|
* Andreas Dannenberg <dannenberg@ti.com>
|
|
*/
|
|
|
|
#ifndef _SYS_PROTO_H_
|
|
#define _SYS_PROTO_H_
|
|
|
|
void sdelay(unsigned long loops);
|
|
u32 wait_on_value(u32 read_bit_mask, u32 match_value, void *read_addr,
|
|
u32 bound);
|
|
struct ti_sci_handle *get_ti_sci_handle(void);
|
|
int fdt_fixup_msmc_ram(void *blob, char *parent_path, char *node_name);
|
|
int do_board_detect(void);
|
|
void release_resources_for_core_shutdown(void);
|
|
int fdt_disable_node(void *blob, char *node_path);
|
|
|
|
bool soc_is_j721e(void);
|
|
|
|
#endif
|