diff options
Diffstat (limited to 'scripts/zynq_mkimage.c')
-rw-r--r-- | scripts/zynq_mkimage.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/scripts/zynq_mkimage.c b/scripts/zynq_mkimage.c index a211b79c28..9c1e23ef00 100644 --- a/scripts/zynq_mkimage.c +++ b/scripts/zynq_mkimage.c @@ -1,22 +1,11 @@ -/* - * Copyright (C) 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ +// SPDX-License-Identifier: GPL-2.0-or-later +// SPDX-FileCopyrightText: 2013 Steffen Trumtrar <s.trumtrar@pengutronix.de> #include <endian.h> #include <errno.h> #include <getopt.h> #include <linux/kernel.h> -#include <mach/zynq-flash-header.h> +#include <zynq/zynq-flash-header.h> #include <malloc.h> #include <stdint.h> #include <stdio.h> @@ -153,7 +142,7 @@ static char *readcmd(FILE *f) } } -int parse_config(char *buf, const char *filename) +static int parse_config(char *buf, const char *filename) { FILE *f; int lineno = 0; |