X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fdataflash.h;h=142b55546f3efc21c8cc4235c6e1d2a95eb05616;hb=fdf71898d943505412daa6f9dd37f86fd7e70c6c;hp=056e18b036a33172df108c0998c3d613743b06ff;hpb=0901d9f891a335826abb1b0d053d66a81b9a0996;p=oweals%2Fu-boot.git diff --git a/include/dataflash.h b/include/dataflash.h index 056e18b036..142b55546f 100644 --- a/include/dataflash.h +++ b/include/dataflash.h @@ -3,23 +3,7 @@ * Data Flash Atmel Description File * Author : Hamid Ikdoumi (Atmel) * - * 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+ */ /* File Name : dataflash.h */ @@ -207,7 +191,8 @@ extern int addr2ram(ulong addr); extern int dataflash_real_protect (int flag, unsigned long start_addr, unsigned long end_addr); extern int addr_dataflash (unsigned long addr); extern int read_dataflash (unsigned long addr, unsigned long size, char *result); -extern int write_dataflash (unsigned long addr, unsigned long dest, unsigned long size); +extern int write_dataflash(unsigned long addr_dest, unsigned long addr_src, + unsigned long size); extern int AT91F_DataflashInit(void); extern void dataflash_print_info (void);