From: David Lechner <david@lechnology.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/5] ARM: legoev3: disable networking
Date: Sat, 19 May 2018 23:25:05 -0500 [thread overview]
Message-ID: <20180520042507.22058-4-david@lechnology.com> (raw)
In-Reply-To: <20180520042507.22058-1-david@lechnology.com>
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 | 4 +---
configs/legoev3_defconfig | 4 +---
include/configs/legoev3.h | 2 --
3 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/board/lego/ev3/legoev3.c b/board/lego/ev3/legoev3.c
index 69010055d3..423c2fa44b 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);
diff --git a/configs/legoev3_defconfig b/configs/legoev3_defconfig
index c5f54a98d3..8ee2d223fd 100644
--- a/configs/legoev3_defconfig
+++ b/configs/legoev3_defconfig
@@ -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
diff --git a/include/configs/legoev3.h b/include/configs/legoev3.h
index 812fd0c14a..6972cedabf 100644
--- a/include/configs/legoev3.h
+++ b/include/configs/legoev3.h
@@ -43,7 +43,6 @@
DAVINCI_SYSCFG_SUSPSRC_TIMER0 | \
DAVINCI_SYSCFG_SUSPSRC_SPI0 | \
DAVINCI_SYSCFG_SUSPSRC_UART1 | \
- DAVINCI_SYSCFG_SUSPSRC_EMAC | \
DAVINCI_SYSCFG_SUSPSRC_I2C)
/*
@@ -152,7 +151,6 @@
"run flashboot; " \
"fi"
#define CONFIG_EXTRA_ENV_SETTINGS \
- "hostname=EV3\0" \
"memsize=64M\0" \
"filesyssize=10M\0" \
"verify=n\0" \
--
2.17.0
next prev parent reply other threads:[~2018-05-20 4:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-20 4:25 [U-Boot] [PATCH 0/5] ARM: legoev3: updates David Lechner
2018-05-20 4:25 ` [U-Boot] [PATCH 1/5] ARM: legoev3: increase flash image sizes David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot,1/5] " Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 2/5] ARM: legoev3: Move UART enable to early init David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot, " Tom Rini
2018-05-20 4:25 ` David Lechner [this message]
2018-06-06 11:15 ` [U-Boot] [U-Boot,3/5] ARM: legoev3: disable networking Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 4/5] ARM: legoev3: remove unused configuration options David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot, " Tom Rini
2018-05-20 4:25 ` [U-Boot] [PATCH 5/5] ARM: legoev3: update boot script to load uEnv.txt and .dtb David Lechner
2018-06-06 11:15 ` [U-Boot] [U-Boot, " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180520042507.22058-4-david@lechnology.com \
--to=david@lechnology.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.