summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-samsung/include/mach/bbu.h
blob: ddc72a622d1630900c4789349af1b401288aa182 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef __MACH_BBU_H
#define __MACH_BBU_H

#include <bbu.h>
#include <errno.h>

#ifdef CONFIG_BAREBOX_UPDATE_NAND_S3C24XX
int s3c24x0_bbu_nand_register_handler(void);
#else
static inline int s3c24x0_bbu_nand_register_handler(void)
{
	return -ENOSYS;
}
#endif

#endif