mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 09:13:06 +00:00
fca27ee8b9
Although the board_init_f API initialises the SoC, the API name is incorrectly specified and misleads the functionality. This file should only include k3-specific functionality. Change the API's name to something more K3-specific and separate the function to make it more modular. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
25 lines
717 B
C
25 lines
717 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);
|
|
bool soc_is_j7200(void);
|
|
|
|
void k3_spl_init(void);
|
|
void k3_mem_init(void);
|
|
bool check_rom_loaded_sysfw(void);
|
|
#endif
|