Merge pull request #51 from felixheld/liteeth-untangling
Include the ethernet related header files conditionally
This commit is contained in:
commit
e06bb3724b
|
@ -9,8 +9,11 @@
|
|||
#include <generated/mem.h>
|
||||
#include <generated/csr.h>
|
||||
|
||||
#ifdef CSR_ETHMAC_BASE
|
||||
#include <net/microudp.h>
|
||||
#include <net/tftp.h>
|
||||
#endif
|
||||
|
||||
#include "sfl.h"
|
||||
#include "boot.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,10 @@
|
|||
|
||||
#include <generated/csr.h>
|
||||
#include <generated/mem.h>
|
||||
|
||||
#ifdef CSR_ETHMAC_BASE
|
||||
#include <net/microudp.h>
|
||||
#endif
|
||||
|
||||
#include "sdram.h"
|
||||
#include "boot.h"
|
||||
|
|
Loading…
Reference in New Issue