]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: legoev3: disable networking
authorDavid Lechner <david@lechnology.com>
Sun, 20 May 2018 04:25:05 +0000 (23:25 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 5 Jun 2018 14:33:57 +0000 (10:33 -0400)
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>
board/lego/ev3/legoev3.c
configs/legoev3_defconfig
include/configs/legoev3.h

index 69010055d3a97fd999eac2c1589360cbc4b6de8e..423c2fa44b95277e5af6844dca469ea47033308a 100644 (file)
@@ -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);
index c5f54a98d389359dd2a2436103d379cf7a007998..8ee2d223fd0f8ace2e0038945317bf142e439a5a 100644 (file)
@@ -18,9 +18,7 @@ CONFIG_CMD_MMC=y
 CONFIG_CMD_SF=y
 CONFIG_CMD_SPI=y
 # CONFIG_CMD_SETEXPR is not set
-CONFIG_CMD_DHCP=y
-CONFIG_CMD_MII=y
-CONFIG_CMD_PING=y
+# CONFIG_CMD_NET is not set
 CONFIG_CMD_EXT4=y
 CONFIG_CMD_FAT=y
 CONFIG_CMD_DIAG=y
index 812fd0c14a8be7aeef4a6ce4a75996947a59c3fd..6972cedabfce10e40ff9a711101864b09a1f3592 100644 (file)
@@ -43,7 +43,6 @@
        DAVINCI_SYSCFG_SUSPSRC_TIMER0 |         \
        DAVINCI_SYSCFG_SUSPSRC_SPI0 |           \
        DAVINCI_SYSCFG_SUSPSRC_UART1 |          \
-       DAVINCI_SYSCFG_SUSPSRC_EMAC |           \
        DAVINCI_SYSCFG_SUSPSRC_I2C)
 
 /*
                "run flashboot; " \
        "fi"
 #define CONFIG_EXTRA_ENV_SETTINGS \
-       "hostname=EV3\0" \
        "memsize=64M\0" \
        "filesyssize=10M\0" \
        "verify=n\0" \