initial "working" version

This should print something on the UART.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
2019-01-01 22:10:02 +08:00
parent 049a52022c
commit c864db3eec
33 changed files with 417 additions and 2040 deletions

View File

@ -1,11 +0,0 @@
#ifndef __HW_ETHMAC_MEM_H
#define __HW_ETHMAC_MEM_H
#include <generated/mem.h>
#define ETHMAC_RX0_BASE ETHMAC_BASE
#define ETHMAC_RX1_BASE (ETHMAC_BASE+0x0800)
#define ETHMAC_TX0_BASE (ETHMAC_BASE+0x1000)
#define ETHMAC_TX1_BASE (ETHMAC_BASE+0x1800)
#endif