Wolfgang Denk | 0cbaf64 | 2005-09-25 00:53:22 +0200 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2003 |
| 3 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 0cbaf64 | 2005-09-25 00:53:22 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
| 9 | |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 10 | flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */ |
Wolfgang Denk | 0cbaf64 | 2005-09-25 00:53:22 +0200 | [diff] [blame] | 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 | } |