configs: aspeed: Add HUSH and random ethernet addr
authorJoel Stanley <joel@jms.id.au>
Thu, 4 Jul 2019 01:35:15 +0000 (11:05 +0930)
committerTom Rini <trini@konsulko.com>
Wed, 17 Jul 2019 20:00:17 +0000 (16:00 -0400)
Tests in test/py/tests/test_env.py like this fail without CONFIG_HUSH_PARSER:

 => => printenv test_env_0
 ## Error: "test_env_0" not defined
 => .=> setenv test_env_0
 => => echo $test_env_0
 $test_env_0
 => F

We also want a mac address so the ethernet device works in qemu.

Signed-off-by: Joel Stanley <joel@jms.id.au>
configs/evb-ast2500_defconfig

index 245c73ee9b5dba7d9e4b10ceacaec0b13dbfbfc1..59d41cb5687b3966bd2c7adb5dcf096b5fb39f75 100644 (file)
@@ -11,12 +11,14 @@ CONFIG_BOOTARGS="console=ttyS4,115200n8 root=/dev/ram rw"
 CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_PRE_CON_BUF_ADDR=0x1e720000
 # CONFIG_DISPLAY_CPUINFO is not set
+CONFIG_HUSH_PARSER=y
 # CONFIG_AUTO_COMPLETE is not set
 CONFIG_CMD_I2C=y
 CONFIG_CMD_DHCP=y
 CONFIG_CMD_MII=y
 CONFIG_CMD_PING=y
 CONFIG_DEFAULT_DEVICE_TREE="ast2500-evb"
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_REGMAP=y
 CONFIG_CLK=y
 CONFIG_DM_I2C=y