mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
3c8f98f5fe
The functions and a few define to generate a fastboot message to be sent back to the host were so far duplicated among the users. Move them all to a common place. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Tom Rini <trini@konsulko.com>
22 lines
540 B
C
22 lines
540 B
C
/*
|
|
* (C) Copyright 2008 - 2009
|
|
* Windriver, <www.windriver.com>
|
|
* Tom Rix <Tom.Rix@windriver.com>
|
|
*
|
|
* Copyright 2011 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
*
|
|
* Copyright 2014 Linaro, Ltd.
|
|
* Rob Herring <robh@kernel.org>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef _FASTBOOT_H_
|
|
#define _FASTBOOT_H_
|
|
|
|
/* The 64 defined bytes plus \0 */
|
|
#define FASTBOOT_RESPONSE_LEN (64 + 1)
|
|
|
|
void fastboot_fail(char *response, const char *reason);
|
|
void fastboot_okay(char *response, const char *reason);
|
|
|
|
#endif /* _FASTBOOT_H_ */
|