aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sundeep.lkml@gmail.com>2020-04-16 20:24:50 +0530
committerPeter Maydell <peter.maydell@linaro.org>2020-04-30 11:52:28 +0100
commit05b7374a58cd18aa3516e33513808896d0ac9b7b (patch)
treec27f9208502e5376e421d20767d1a6ae3420551d /include
parent1c66437879654705bbf8099d9767594668c57ce8 (diff)
msf2: Add EMAC block to SmartFusion2 SoC
With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep <sundeep.lkml@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 1587048891-30493-3-git-send-email-sundeep.lkml@gmail.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/arm/msf2-soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/msf2-soc.h b/include/hw/arm/msf2-soc.h
index 3cfe5c76ee..c9cb214aa6 100644
--- a/include/hw/arm/msf2-soc.h
+++ b/include/hw/arm/msf2-soc.h
@@ -29,6 +29,7 @@
#include "hw/timer/mss-timer.h"
#include "hw/misc/msf2-sysreg.h"
#include "hw/ssi/mss-spi.h"
+#include "hw/net/msf2-emac.h"
#define TYPE_MSF2_SOC "msf2-soc"
#define MSF2_SOC(obj) OBJECT_CHECK(MSF2State, (obj), TYPE_MSF2_SOC)
@@ -62,6 +63,7 @@ typedef struct MSF2State {
MSF2SysregState sysreg;
MSSTimerState timer;
MSSSpiState spi[MSF2_NUM_SPIS];
+ MSF2EmacState emac;
} MSF2State;
#endif