Skip to contentSkip to conversation

iot_dk: Disable networking support

PATCH New Alexey Brodkin 1 participant 1 message Oct 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iot_dk: Disable networking support

There's no Ethernet controller on the board so no point in having networking support. This also saves us 5.5 kB of precious memory.

| # bloat-o-meter u-boot.net u-boot.no_net_regex | tail -1
| Total: Before=127892, After=122334, chg -4.35%
---
 configs/iot_devkit_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/iot_devkit_defconfig +1 -1
index 1f0f9c3256..84b99c93c0 100644
@@ -17,7 +17,6 @@ CONFIG_SYS_PROMPT="IoTDK# "
 # CONFIG_CMD_LOADS is not set
 CONFIG_CMD_MMC=y
 CONFIG_CMD_USB=y
-# CONFIG_CMD_NET is not set
 CONFIG_CMD_FAT=y
 CONFIG_OF_CONTROL=y
 CONFIG_OF_EMBED=y
@@ -25,6 +24,7 @@ CONFIG_DEFAULT_DEVICE_TREE="iot_devkit"
 CONFIG_ENV_IS_IN_FAT=y
 CONFIG_ENV_FAT_INTERFACE="mmc"
 CONFIG_ENV_FAT_DEVICE_AND_PART="0:1"
+# CONFIG_NET is not set
 CONFIG_DM=y
 CONFIG_MMC=y
 CONFIG_MMC_DW=y
Signature · 1 line
2.16.2