]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/pb1x00/flash.c
arc: Fix final linkage with Elf32 tools
[people/ms/u-boot.git] / board / pb1x00 / flash.c
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 */
17 unsigned long flash_init (void)
18 {
19 printf ("Skipping flash_init\n");
20 return (0);
21 }
22
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 }