summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2018-10-18 14:28:19 +0200
committerStefano Babic <[email protected]>2018-10-22 12:59:01 +0200
commit8aa1505b59159cf8f52ba7441dd9e71c3caf1ded (patch)
tree735e153d828aeccbd9776107d3977ce9fbd58f37 /arch/arm/include
parent60d33fcd1976e6a25c070c62d6f1064020d686bd (diff)
imx8: add boot device detection
Add get_boot_device to detect boot device. Add print_bootinfo to print the boot device info. Signed-off-by: Peng Fan <[email protected]> Reviewed-by: Anatolij Gustschin <[email protected]> Cc: Stefano Babic <[email protected]>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-imx8/sys_proto.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8/sys_proto.h b/arch/arm/include/asm/arch-imx8/sys_proto.h
new file mode 100644
index 00000000000..f9a30161329
--- /dev/null
+++ b/arch/arm/include/asm/arch-imx8/sys_proto.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2018 NXP
+ */
+
+#include <asm/mach-imx/sys_proto.h>
+#include <linux/types.h>
+
+enum boot_device get_boot_device(void);
+int print_bootinfo(void);