Include the ethernet related header files conditionally
Only including those header files in the litex firmware is the first step to move the firmware parts of liteeth to the liteeth tree.
This commit is contained in:
parent
d37cf226d6
commit
21ad435def
|
@ -9,8 +9,11 @@
|
||||||
#include <generated/mem.h>
|
#include <generated/mem.h>
|
||||||
#include <generated/csr.h>
|
#include <generated/csr.h>
|
||||||
|
|
||||||
|
#ifdef CSR_ETHMAC_BASE
|
||||||
#include <net/microudp.h>
|
#include <net/microudp.h>
|
||||||
#include <net/tftp.h>
|
#include <net/tftp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "sfl.h"
|
#include "sfl.h"
|
||||||
#include "boot.h"
|
#include "boot.h"
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,10 @@
|
||||||
|
|
||||||
#include <generated/csr.h>
|
#include <generated/csr.h>
|
||||||
#include <generated/mem.h>
|
#include <generated/mem.h>
|
||||||
|
|
||||||
|
#ifdef CSR_ETHMAC_BASE
|
||||||
#include <net/microudp.h>
|
#include <net/microudp.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "sdram.h"
|
#include "sdram.h"
|
||||||
#include "boot.h"
|
#include "boot.h"
|
||||||
|
|
Loading…
Reference in New Issue