mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-19 00:18:51 +09:00
![Steve Rae](/assets/img/avatar_default.png)
- update fastboot_okay() and fastboot_fail() This file originally came from upstream code. While retaining the storage abstraction feature, this is the second set of the changes required to resync with the cmd_flash_mmc_sparse_img() in the file aboot.c from https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.BR.1.2.1 Signed-off-by: Steve Rae <srae@broadcom.com>
23 lines
508 B
C
23 lines
508 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(const char *reason);
|
|
void fastboot_okay(const char *reason);
|
|
|
|
#endif /* _FASTBOOT_H_ */
|