3 * Ingenic Semiconductor, <jlwei@ingenic.cn>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23 flash_info_t flash_info
[CONFIG_SYS_MAX_FLASH_BANKS
]; /* info for FLASH chips */
25 /*-----------------------------------------------------------------------
28 * sets up flash_info and returns size of FLASH (bytes)
30 unsigned long flash_init (void)
35 int flash_erase (flash_info_t
* info
, int s_first
, int s_last
)
37 printf ("flash_erase not implemented\n");
41 void flash_print_info (flash_info_t
* info
)
43 printf ("flash_print_info not implemented\n");
46 int write_buff (flash_info_t
* info
, uchar
* src
, ulong addr
, ulong cnt
)
48 printf ("write_buff not implemented\n");