diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-03-22 17:09:13 -0500 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:12 -0600 |
commit | 3ea143abe957cd771582fcde33e5fb8096bd826e (patch) | |
tree | fc85425bd489063c134c0acfacaadf185cf6c7f0 /arch/sandbox | |
parent | 17591405a7b932ba0a66107645f5ff5f6f36da75 (diff) |
sandbox: eth: Add network support to sandbox
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>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/Kconfig | 9 | ||||
-rw-r--r-- | arch/sandbox/dts/sandbox.dts | 4 |
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 477a20a820c..e7f55fa82a5 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 42a1f21e121..0df7b40bebd 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>; + }; }; |