Merge pull request #51 from felixheld/liteeth-untangling

Include the ethernet related header files conditionally
This commit is contained in:
enjoy-digital 2018-01-16 21:37:24 +01:00 committed by GitHub
commit e06bb3724b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -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"

View File

@ -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"