blob: c7daf5a0ef46b3d88298023af223d7c888fa7010 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk265817c2005-09-25 00:53:22 +02002/*
3 * (C) Copyright 2003
4 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Wolfgang Denk265817c2005-09-25 00:53:22 +02005 */
6
7#include <common.h>
8
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +02009flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
Wolfgang Denk265817c2005-09-25 00:53:22 +020010
11/*-----------------------------------------------------------------------
12 * flash_init()
13 *
14 * sets up flash_info and returns size of FLASH (bytes)
15 */
16unsigned long flash_init (void)
17{
18 printf ("Skipping flash_init\n");
19 return (0);
20}
21
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}