fix defines and includes for compilation inside wrpc-sw
Two main problems where found when compiling into wrpc-sw, commit
e00d99f82:
- wrpc_sw/include/hw/memlayout.h defines some symbols into a header file
(I think they should be defined there as "extern" and actually declared
somewhere else);
- there was an include to be removed
The simple solution for the first issue is to define __REGS_H where
the compiler complains; the better solution, to me, is to follow include
chain to discover who is including memlayout.h, or define those symbols as
extern.
Signed-off-by: Aurelio Colosimo <aurelio@aureliocolosimo.it>
Showing
Please
register
or
sign in
to comment