Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Wolfgang Denk | 0cbaf64 | 2005-09-25 00:53:22 +0200 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2003 |
| 4 | * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
Wolfgang Denk | 0cbaf64 | 2005-09-25 00:53:22 +0200 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <common.h> |
| 8 | |
Jean-Christophe PLAGNIOL-VILLARD | 0383694 | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 9 | 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] | 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 | } |