X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=tools%2Faisimage.c;h=cd89145867d5b17351b27112017ef7d83a7b80d7;hb=0ec3e0464e923142c845b23b1fc34dc9310540db;hp=c645708da5984875113d0cdbf4a73b694c3ca0a2;hpb=94e9d4c3e8e01a803d8e9aedcf86664795b33605;p=karo-tx-uboot.git diff --git a/tools/aisimage.c b/tools/aisimage.c index c645708da5..cd89145867 100644 --- a/tools/aisimage.c +++ b/tools/aisimage.c @@ -2,23 +2,7 @@ * (C) Copyright 2011 * Stefano Babic, DENX Software Engineering, sbabic@denx.de. * - * See file CREDITS for list of people who contributed to this - * project. - * - * 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. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA + * SPDX-License-Identifier: GPL-2.0+ */ /* Required to obtain the getline prototype from stdio.h */ @@ -32,7 +16,6 @@ #define WORD_ALIGN0 4 #define WORD_ALIGN(len) (((len)+WORD_ALIGN0-1) & ~(WORD_ALIGN0-1)) #define MAX_CMD_BUFFER 4096 -#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) static uint32_t ais_img_size;