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