X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnand%2Fmx3.h;h=00664d866ae46a169839086a602c5baa542dea4d;hp=1738ff7f218d22039c00180274e5a0493b470168;hb=HEAD;hpb=fab0dcd7e6cb8cfbf63cb41f0978902371d30205 diff --git a/src/flash/nand/mx3.h b/src/flash/nand/mx3.h index 1738ff7f21..b272962b4c 100644 --- a/src/flash/nand/mx3.h +++ b/src/flash/nand/mx3.h @@ -1,24 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + /*************************************************************************** * Copyright (C) 2009 by Alexei Babich * * Rezonans plc., Chelyabinsk, Russia * * impatt@mail.ru * - * * - * 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. * ***************************************************************************/ +#ifndef OPENOCD_FLASH_NAND_MX3_H +#define OPENOCD_FLASH_NAND_MX3_H + /* * Freescale iMX3* OpenOCD NAND Flash controller support. * @@ -96,7 +86,6 @@ enum mx_nf_finalize_action { }; struct mx3_nf_flags { - unsigned host_little_endian:1; unsigned target_little_endian:1; unsigned nand_readonly:1; unsigned one_kb_sram:1; @@ -108,3 +97,5 @@ struct mx3_nf_controller { enum mx_nf_finalize_action fin; struct mx3_nf_flags flags; }; + +#endif /* OPENOCD_FLASH_NAND_MX3_H */