X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fhwconfig.c;h=4ae042ee33efe9327b5a647af910f343cb6fe3e5;hb=cb957cda2bedc31209f5c483cacb5ddc4f5754c8;hp=515074808ddada52371ad8329970d005a8d72795;hpb=5aebe3b07254d9ec8f7ae23a4525a6c535a7f858;p=u-boot diff --git a/common/hwconfig.c b/common/hwconfig.c index 515074808d..4ae042ee33 100644 --- a/common/hwconfig.c +++ b/common/hwconfig.c @@ -6,10 +6,7 @@ * * Author: Anton Vorontsov * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * SPDX-License-Identifier: GPL-2.0+ */ #ifndef HWCONFIG_TEST @@ -81,8 +78,8 @@ static const char *__hwconfig(const char *opt, size_t *arglen, if (!env_hwconfig) { if (!(gd->flags & GD_FLG_ENV_READY)) { printf("WARNING: Calling __hwconfig without a buffer " - "and before environment is ready\n"); - return NULL; + "and before environment is ready\n"); + return NULL; } env_hwconfig = getenv("hwconfig"); }