summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-zynqmp/zynqmp-bbu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-zynqmp/zynqmp-bbu.c')
-rw-r--r--arch/arm/mach-zynqmp/zynqmp-bbu.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-zynqmp/zynqmp-bbu.c b/arch/arm/mach-zynqmp/zynqmp-bbu.c
new file mode 100644
index 0000000000..3c5e2fe885
--- /dev/null
+++ b/arch/arm/mach-zynqmp/zynqmp-bbu.c
@@ -0,0 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (C) 2020 Michael Tretter <m.tretter@pengutronix.de>
+ */
+
+#include <common.h>
+#include <mach/zynqmp/zynqmp-bbu.h>
+
+int zynqmp_bbu_register_handler(const char *name, char *devicefile,
+ unsigned long flags)
+{
+ return bbu_register_std_file_update(name, flags, devicefile,
+ filetype_zynq_image);
+}