]> Git Repo - J-u-boot.git/blame - include/bcb.h
test: spl: Add functions to create images
[J-u-boot.git] / include / bcb.h
CommitLineData
e74670ad
ER
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright (C) 2020 Eugeniu Rosca <[email protected]>
4 *
5 * Android Bootloader Control Block Header
6 */
7
8#ifndef __BCB_H__
9#define __BCB_H__
10
71e3e215 11#if IS_ENABLED(CONFIG_CMD_BCB)
bafdf4ca 12int bcb_write_reboot_reason(int devnum, char *partp, const char *reasonp);
e74670ad
ER
13#else
14#include <linux/errno.h>
bafdf4ca 15static inline int bcb_write_reboot_reason(int devnum, char *partp, const char *reasonp)
e74670ad
ER
16{
17 return -EOPNOTSUPP;
18}
19#endif
20
21#endif /* __BCB_H__ */
This page took 0.105113 seconds and 4 git commands to generate.