mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-16 14:08:45 +00:00
Correct SPL use of CMD_NET
This converts 1 usage of this option to the non-SPL form, since there is no SPL_CMD_NET defined in Kconfig Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
80168d5a28
commit
799e5be706
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
int rockchip_setup_macaddr(void)
|
int rockchip_setup_macaddr(void)
|
||||||
{
|
{
|
||||||
#if CONFIG_IS_ENABLED(CMD_NET)
|
#if IS_ENABLED(CONFIG_CMD_NET)
|
||||||
int ret;
|
int ret;
|
||||||
const char *cpuid = env_get("cpuid#");
|
const char *cpuid = env_get("cpuid#");
|
||||||
u8 hash[SHA256_SUM_LEN];
|
u8 hash[SHA256_SUM_LEN];
|
||||||
|
|
Loading…
Add table
Reference in a new issue