summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-layerscape/include/mach/bbu.h
blob: 1ea0cbb11f32b818d6b5e400d03188ad04b667f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __MACH_LAYERSCAPE_BBU_H
#define __MACH_LAYERSCAPE_BBU_H

#include <bbu.h>

static inline int ls1046a_bbu_mmc_register_handler(const char *name,
						   const char *devicefile,
						   unsigned long flags)
{
	return bbu_register_std_file_update(name, flags, devicefile,
					    filetype_layerscape_image);
}

static inline int ls1046a_bbu_qspi_register_handler(const char *name,
						    const char *devicefile,
						    unsigned long flags)
{
	return bbu_register_std_file_update(name, flags, devicefile,
					    filetype_layerscape_qspi_image);
}

#endif /* __MACH_LAYERSCAPE_BBU_H */