[PATCH 3/3] The leon3 bsp should define CPU_U32_FIX
Jiri Gaisler
jiri at gaisler.se
Sun Oct 25 22:26:26 UTC 2020
* CPU_U32_FIX needed to avoid unaligned data access trap
in network stack.
---
bsps/sparc/leon3/include/bsp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/bsps/sparc/leon3/include/bsp.h b/bsps/sparc/leon3/include/bsp.h
index 85730b5e20..a4060385c8 100644
--- a/bsps/sparc/leon3/include/bsp.h
+++ b/bsps/sparc/leon3/include/bsp.h
@@ -94,6 +94,7 @@ extern int rtems_leon_greth_driver_attach(
#endif
#define HAS_SMC91111
+#define CPU_U32_FIX
/* Configure GRETH driver */
#define GRETH_SUPPORTED
--
2.17.1
More information about the devel
mailing list