
On 3 March 2015 at 19:41, Joe Hershberger joe.hershberger@ni.com wrote:
Add basic network support to sandbox which includes a network driver.
Signed-off-by: Joe Hershberger joe.hershberger@ni.com Reviewed-by: Simon Glass sjg@chromium.org
Changes in v5: -Added help to the sandbox eth mock driver Kconfig entry
Looks good.
Reviewed-by: Simon Glass sjg@chromium.org
Changes in v4: -Cleaned up sandbox EXTRA_ENV define -Moved config to Kconfig
Changes in v3: -Added 2 more ethaddr to sandbox -Print which device in the debug write hwaddr
Changes in v2: -Change printfs to debug in sandbox driver -Remove unused priv struct for sandbox driver
arch/sandbox/Kconfig | 9 +++++ arch/sandbox/dts/sandbox.dts | 4 +++ board/sandbox/README.sandbox | 4 +-- drivers/net/Kconfig | 23 ++++++++++++ drivers/net/Makefile | 1 + drivers/net/sandbox.c | 84 ++++++++++++++++++++++++++++++++++++++++++++ include/configs/sandbox.h | 16 +++++---- 7 files changed, 133 insertions(+), 8 deletions(-) create mode 100644 drivers/net/sandbox.c