summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-rockchip/include/mach/bbu.h
blob: 7fb08a0a9e5426ba95a1e9e562c1cd868795ec6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef __MACH_ROCKCHIP_BBU_H
#define __MACH_ROCKCHIP_BBU_H

#include <bbu.h>

#ifdef CONFIG_BAREBOX_UPDATE
int rk3568_bbu_mmc_register(const char *name, unsigned long flags,
                const char *devicefile);
#else
static inline int rk3568_bbu_mmc_register(const char *name, unsigned long flags,
                const char *devicefile)
{
	return -ENOSYS;
}
#endif

# endif /* __MACH_ROCKCHIP_BBU_H */