From 3ea143abe957cd771582fcde33e5fb8096bd826e Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Sun, 22 Mar 2015 17:09:13 -0500 Subject: sandbox: eth: Add network support to sandbox Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass --- arch/sandbox/Kconfig | 9 +++++++++ arch/sandbox/dts/sandbox.dts | 4 ++++ 2 files changed, 13 insertions(+) (limited to 'arch/sandbox') diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 477a20a..e7f55fa 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -41,4 +41,13 @@ config PCI used on some devices to allow the CPU to communicate with its peripherals. +config NET + default y + +config NETDEVICES + default y + +config DM_ETH + default y + endmenu diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts index 42a1f21..0df7b40 100644 --- a/arch/sandbox/dts/sandbox.dts +++ b/arch/sandbox/dts/sandbox.dts @@ -201,4 +201,8 @@ }; }; + eth@10002000 { + compatible = "sandbox,eth"; + reg = <0x10002000 0x1000>; + }; }; -- cgit v1.1