blob: 89353654750a902d21d80e90020854f1e3481ee2 [file] [log] [blame]
Wolfgang Denk265817c2005-09-25 00:53:22 +02001/*
2 * (C) Copyright 2003
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk265817c2005-09-25 00:53:22 +02006 */
7
8#include <common.h>
9
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020010flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
Wolfgang Denk265817c2005-09-25 00:53:22 +020011
12/*-----------------------------------------------------------------------
13 * flash_init()
14 *
15 * sets up flash_info and returns size of FLASH (bytes)
16 */
17unsigned long flash_init (void)
18{
19 printf ("Skipping flash_init\n");
20 return (0);
21}
22
23int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
24{
25 printf ("write_buff not implemented\n");
26 return (-1);
27}