X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fmtd%2Fat45.c;h=2f49be38b862a3585b5cb1ae0a6627906babeab2;hb=968294bd7b9b540f53c1fb3c809da464623a4362;hp=a9d13ff90ef9fa4cf072ec846f13625c1fe4a845;hpb=9d2459f3532c009bb903b02b57079a3862420a5f;p=u-boot diff --git a/drivers/mtd/at45.c b/drivers/mtd/at45.c index a9d13ff90e..2f49be38b8 100644 --- a/drivers/mtd/at45.c +++ b/drivers/mtd/at45.c @@ -1,27 +1,11 @@ /* Driver for ATMEL DataFlash support * Author : Hamid Ikdoumi (Atmel) * - * 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+ */ #include #include - -#ifdef CONFIG_HAS_DATAFLASH #include /* @@ -559,4 +543,3 @@ int AT91F_DataflashProbe(int cs, AT91PS_DataflashDesc pDesc) AT91F_DataFlashGetStatus(pDesc); return ((pDesc->command[1] == 0xFF) ? 0 : pDesc->command[1] & 0x3C); } -#endif