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

#ifndef MACH_STM32MP_BBU_H_
#define MACH_STM32MP_BBU_H_

#include <bbu.h>

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

#endif /* MACH_STM32MP_BBU_H_ */