ramips: register ethernet device on the RT-N15
[openwrt.git] / package / uboot-xburst / files / board / n516 / flash.c
1 /*
2 * (C) Copyright 2006
3 * Ingenic Semiconductor, <jlwei@ingenic.cn>
4 *
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.
9 *
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.
14 *
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,
18 * MA 02111-1307 USA
19 */
20
21 #include <common.h>
22
23 flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; /* info for FLASH chips */
24
25 /*-----------------------------------------------------------------------
26 * flash_init()
27 *
28 * sets up flash_info and returns size of FLASH (bytes)
29 */
30 unsigned long flash_init (void)
31 {
32 return (0);
33 }
34
35 int flash_erase (flash_info_t * info, int s_first, int s_last)
36 {
37 printf ("flash_erase not implemented\n");
38 return 0;
39 }
40
41 void flash_print_info (flash_info_t * info)
42 {
43 printf ("flash_print_info not implemented\n");
44 }
45
46 int write_buff (flash_info_t * info, uchar * src, ulong addr, ulong cnt)
47 {
48 printf ("write_buff not implemented\n");
49 return (-1);
50 }
This page took 0.048737 seconds and 5 git commands to generate.