aboutsummaryrefslogtreecommitdiff
path: root/board/lego
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2018-05-19 23:25:05 -0500
committerTom Rini <trini@konsulko.com>2018-06-05 10:33:57 -0400
commit98ada4b3f035e11510c4a5bfc10b1c134ffbd2af (patch)
treeef6f7d7ed8330dd148842e56f89aace97ec6cbd2 /board/lego
parent648e87a1ec961de00ac0d7dcbd15b2ff1804ef8d (diff)
downloadu-boot-98ada4b3f035e11510c4a5bfc10b1c134ffbd2af.zip
u-boot-98ada4b3f035e11510c4a5bfc10b1c134ffbd2af.tar.gz
u-boot-98ada4b3f035e11510c4a5bfc10b1c134ffbd2af.tar.bz2
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 6901005..423c2fa 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);