From: John Jacques <john.jacq...@lsi.com>

required by the RTE in simulation.

Signed-off-by: John Jacques <john.jacq...@lsi.com>
---
 arch/arm/mach-axxia/wrappers.c | 44 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

diff --git a/arch/arm/mach-axxia/wrappers.c b/arch/arm/mach-axxia/wrappers.c
index fe384aa..be5c4b0 100644
--- a/arch/arm/mach-axxia/wrappers.c
+++ b/arch/arm/mach-axxia/wrappers.c
@@ -28,6 +28,50 @@
 /*
   
==============================================================================
   
==============================================================================
+  MDIO
+  
==============================================================================
+  
==============================================================================
+*/
+
+/*
+  These are not wrappers, but are required when loading the RTE in simulation.
+*/
+
+#ifdef CONFIG_ARCH_AXXIA_SIM
+
+/*
+  
------------------------------------------------------------------------------
+  acp_mdio_read
+*/
+
+int
+acp_mdio_read(unsigned long address, unsigned long offset,
+             unsigned short *value, int clause45)
+{
+       return 0;
+}
+
+EXPORT_SYMBOL(acp_mdio_read);
+
+/*
+  
------------------------------------------------------------------------------
+  acp_mdio_write
+*/
+
+int
+acp_mdio_write(unsigned long address, unsigned long offset,
+              unsigned short value, int clause45)
+{
+       return 0;
+}
+
+EXPORT_SYMBOL(acp_mdio_write);
+
+#endif /* CONFIG_ARCH_AXXIA_SIM */
+
+/*
+  
==============================================================================
+  
==============================================================================
   Platform Device Registration
   
==============================================================================
   
==============================================================================
-- 
1.8.4.3

_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to