X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=cmd%2Fsource.c;h=92481c4fff75a76b050939424bc50fe336527be2;hb=2dc6d97e1edd50634fa9f3dba4746d77cb1b9328;hp=db7ab7e5f4092a0b996f96702e4ed53b9cd897bb;hpb=82d72a1b9967cff4908f22c57536c3660f794401;p=u-boot diff --git a/cmd/source.c b/cmd/source.c index db7ab7e5f4..92481c4fff 100644 --- a/cmd/source.c +++ b/cmd/source.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Kyle Harris, kharris@nexus-tech.net - * - * SPDX-License-Identifier: GPL-2.0+ */ /* @@ -22,9 +21,6 @@ #include #include #include -#if defined(CONFIG_8xx) -#include -#endif int source (ulong addr, const char *fit_uname) @@ -43,7 +39,7 @@ source (ulong addr, const char *fit_uname) size_t fit_len; #endif - verify = getenv_yesno ("verify"); + verify = env_get_yesno("verify"); buf = map_sysmem(addr, 0); switch (genimg_get_format(buf)) {