aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/friendlyarm/nanopi2/hwrev.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/friendlyarm/nanopi2/hwrev.h')
-rw-r--r--roms/u-boot/board/friendlyarm/nanopi2/hwrev.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/roms/u-boot/board/friendlyarm/nanopi2/hwrev.h b/roms/u-boot/board/friendlyarm/nanopi2/hwrev.h
new file mode 100644
index 000000000..1b1a828af
--- /dev/null
+++ b/roms/u-boot/board/friendlyarm/nanopi2/hwrev.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0+
+ *
+ * Copyright (C) Guangzhou FriendlyARM Computer Tech. Co., Ltd.
+ * (http://www.friendlyarm.com)
+ */
+
+#ifndef __BD_HW_REV_H__
+#define __BD_HW_REV_H__
+
+extern void bd_hwrev_init(void);
+extern void bd_base_rev_init(void);
+extern u32 get_board_rev(void);
+extern const char *get_board_name(void);
+
+#endif /* __BD_HW_REV_H__ */