summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2022-08-19 14:48:48 -0700
committerH. Peter Anvin <hpa@zytor.com>2022-08-19 14:48:48 -0700
commite43d50fa6bb0cabd81f12a106adc7ca75d4a922d (patch)
treea43e75e908e6e1b8a02a10b2018cc21bc5d66c3a
parent969d145878cb886ac5b839c51349cff10a74cd18 (diff)
downloadblinktest-e43d50fa6bb0cabd81f12a106adc7ca75d4a922d.tar.gz
blinktest-e43d50fa6bb0cabd81f12a106adc7ca75d4a922d.tar.xz
blinktest-e43d50fa6bb0cabd81f12a106adc7ca75d4a922d.zip
rv32: add missing header file
-rw-r--r--rv32/boardinfo_fpga.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/rv32/boardinfo_fpga.h b/rv32/boardinfo_fpga.h
new file mode 100644
index 0000000..fe0cc48
--- /dev/null
+++ b/rv32/boardinfo_fpga.h
@@ -0,0 +1,16 @@
+#ifndef BOARDINFO_FPGA_H
+#define BOARDINFO_FPGA_H
+
+#include "common.h"
+#include "boardinfo.h"
+
+/* Address 0 is used by FPGA, so this is the address we use... */
+#define BOARDINFO_ADDR 0xff000
+
+extern struct board_info board_info;
+extern union board_info_block board_info_raw;
+
+extern void rom_update_boardinfo(void);
+extern volatile bool do_update_boardinfo;
+
+#endif /* BOARDINFO_FPGA_H */