software: also include generated/mem.h

This commit is contained in:
Florent Kermarrec 2019-05-20 09:00:25 +02:00
parent e88fc507c8
commit 2424e62bf9
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@
// License: BSD
#include <generated/csr.h>
#include <generated/mem.h>
#ifdef CSR_ETHMAC_BASE

View file

@ -12,6 +12,7 @@
#include <hw/flags.h>
#include <console.h>
#include <generated/csr.h>
#include <generated/mem.h>
#define ETHMAC_RX0_BASE ETHMAC_BASE
#define ETHMAC_RX1_BASE (ETHMAC_BASE+0x0800)