aboutsummaryrefslogtreecommitdiff
path: root/board/lego
diff options
context:
space:
mode:
authorDavid Lechner2018-05-19 23:25:05 -0500
committerTom Rini2018-06-05 10:33:57 -0400
commit98ada4b3f035e11510c4a5bfc10b1c134ffbd2af (patch)
treeef6f7d7ed8330dd148842e56f89aace97ec6cbd2 /board/lego
parent648e87a1ec961de00ac0d7dcbd15b2ff1804ef8d (diff)
ARM: legoev3: disable networking
This disables networking related items in the config. The EV3 does not have any networking hardware, so this is wasted space. Signed-off-by: David Lechner <david@lechnology.com>
Diffstat (limited to 'board/lego')
-rw-r--r--board/lego/ev3/legoev3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/lego/ev3/legoev3.c b/board/lego/ev3/legoev3.c
index 69010055d3a..423c2fa44b9 100644
--- a/board/lego/ev3/legoev3.c
+++ b/board/lego/ev3/legoev3.c
@@ -14,8 +14,6 @@
#include <common.h>
#include <i2c.h>
-#include <net.h>
-#include <netdev.h>
#include <spi.h>
#include <spi_flash.h>
#include <asm/arch/hardware.h>
@@ -162,7 +160,7 @@ int board_init(void)
/* setup the SUSPSRC for ARM to control emulation suspend */
writel(readl(&davinci_syscfg_regs->suspsrc) &
- ~(DAVINCI_SYSCFG_SUSPSRC_EMAC | DAVINCI_SYSCFG_SUSPSRC_I2C |
+ ~(DAVINCI_SYSCFG_SUSPSRC_I2C |
DAVINCI_SYSCFG_SUSPSRC_SPI0 | DAVINCI_SYSCFG_SUSPSRC_TIMER0 |
DAVINCI_SYSCFG_SUSPSRC_UART1),
&davinci_syscfg_regs->suspsrc);