mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00

As reported by Jonas Karlman this series breaks booting on some AArch64 platforms with common use cases. For now the best path forward is to revert the series. This reverts commit777c284609
, reversing changes made toab3453e7b1
. Link: https://lore.kernel.org/u-boot/50dfa3d6-a1ca-4492-a3fc-8d8c56b40b43@kwiboo.se/ Signed-off-by: Tom Rini <trini@konsulko.com>
43 lines
1.1 KiB
C
43 lines
1.1 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef _FASTBOOT_INTERNAL_H_
|
|
#define _FASTBOOT_INTERNAL_H_
|
|
|
|
/**
|
|
* fastboot_buf_addr - base address of the fastboot download buffer
|
|
*/
|
|
extern void *fastboot_buf_addr;
|
|
|
|
/**
|
|
* fastboot_buf_size - size of the fastboot download buffer
|
|
*/
|
|
extern u32 fastboot_buf_size;
|
|
|
|
/**
|
|
* fastboot_progress_callback - callback executed during long operations
|
|
*/
|
|
extern void (*fastboot_progress_callback)(const char *msg);
|
|
|
|
/**
|
|
* fastboot_getvar_all() - Writes current variable being listed from "all" to response.
|
|
*
|
|
* @response: Pointer to fastboot response buffer
|
|
*/
|
|
void fastboot_getvar_all(char *response);
|
|
|
|
/**
|
|
* fastboot_getvar() - Writes variable indicated by cmd_parameter to response.
|
|
*
|
|
* @cmd_parameter: Pointer to command parameter
|
|
* @response: Pointer to fastboot response buffer
|
|
*
|
|
* Look up cmd_parameter first as an environment variable of the form
|
|
* fastboot.<cmd_parameter>, if that exists return use its value to set
|
|
* response.
|
|
*
|
|
* Otherwise lookup the name of variable and execute the appropriate
|
|
* function to return the requested value.
|
|
*/
|
|
void fastboot_getvar(char *cmd_parameter, char *response);
|
|
|
|
#endif
|