]> git.sur5r.net Git - u-boot/blob - board/pb1x00/flash.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / board / pb1x00 / flash.c
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  */
16 unsigned long flash_init (void)
17 {
18         printf ("Skipping flash_init\n");
19         return (0);
20 }
21
22 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
23 {
24         printf ("write_buff not implemented\n");
25         return (-1);
26 }