1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 3 * (C) Copyright 2003 4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. 5 */ 6 7 #include <common.h> 8 9 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ 10 11 /*----------------------------------------------------------------------- 12 * flash_init() 13 * 14 * sets up flash_info and returns size of FLASH (bytes) 15 */ flash_init(void)16unsigned long flash_init (void) 17 { 18 printf ("Skipping flash_init\n"); 19 return (0); 20 } 21 write_buff(flash_info_t * info,uchar * src,ulong addr,ulong cnt)22int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt) 23 { 24 printf ("write_buff not implemented\n"); 25 return (-1); 26 } 27