summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-stm32mp/include/mach/bbu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-stm32mp/include/mach/bbu.h')
-rw-r--r--arch/arm/mach-stm32mp/include/mach/bbu.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/arm/mach-stm32mp/include/mach/bbu.h b/arch/arm/mach-stm32mp/include/mach/bbu.h
deleted file mode 100644
index b469cdeb7c..0000000000
--- a/arch/arm/mach-stm32mp/include/mach/bbu.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/* 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_ssbl_v1);
-}
-
-#ifdef CONFIG_BAREBOX_UPDATE
-
-int stm32mp_bbu_mmc_fip_register(const char *name, const char *devicefile,
- unsigned long flags);
-
-#else
-
-static inline int stm32mp_bbu_mmc_fip_register(const char *name,
- const char *devicefile,
- unsigned long flags)
-{
- return -ENOSYS;
-}
-
-#endif
-
-#endif /* MACH_STM32MP_BBU_H_ */