Commit 2bd8669c authored by Alessandro Rubini's avatar Alessandro Rubini

userspace/include: move hwiu.h to libwr/

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 76dfcdd4
#ifndef __HWIU_H__ #ifndef __LIBWR_HWIU_H__
#define __HWIU_H__ #define __LIBWR_HWIU_H__
#define HWIU_INFO_START 0 #define HWIU_INFO_START 0
#define HWIU_INFO_WORDS_START 1 #define HWIU_INFO_WORDS_START 1
...@@ -20,4 +20,4 @@ struct gw_info { ...@@ -20,4 +20,4 @@ struct gw_info {
int shw_hwiu_gwver(struct gw_info *info); int shw_hwiu_gwver(struct gw_info *info);
#endif #endif /* __LIBWR_HWIU_H__ */
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <stddef.h> #include <stddef.h>
#include <fpga_io.h> #include <fpga_io.h>
#include <regs/hwiu-regs.h> #include <regs/hwiu-regs.h>
#include <hwiu.h> #include <libwr/hwiu.h>
#define hwiu_write(reg, val) \ #define hwiu_write(reg, val) \
_fpga_writel(FPGA_BASE_HWIU + offsetof(struct HWIU_WB, reg), val) _fpga_writel(FPGA_BASE_HWIU + offsetof(struct HWIU_WB, reg), val)
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <string.h> #include <string.h>
#include <shw_io.h> #include <shw_io.h>
#include <hwiu.h> #include <libwr/hwiu.h>
#include "switch_hw.h" #include "switch_hw.h"
#include "libsdbfs.h" #include "libsdbfs.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment