blob: 4a332e037ba27603ca92c1aad29931a0bd60317d [file] [log] [blame]
wdenkaffae2b2002-08-17 09:36:01 +00001/*
2 * (C) Copyright 2000
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
wdenkaffae2b2002-08-17 09:36:01 +00006 */
7
8#include <common.h>
9#include <mpc8xx.h>
10
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020011flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS];
wdenkaffae2b2002-08-17 09:36:01 +000012
13/*-----------------------------------------------------------------------
14 */
15
16unsigned long flash_init (void)
17{
18 /* All Speech Design board memory (DRAM and EPROM) initialisation is
19 done in dram_init().
20 The caller of ths function here expects the total size and will hang,
21 if we give here back 0. So we return the EPROM size. */
22
23 return (1024 * 1024); /* 1 MB */
24}
25
26/*-----------------------------------------------------------------------
27 */
28
29void flash_print_info (flash_info_t *info)
30{
31 printf("no FLASH memory in MPC823TS board\n");
32 return;
33}
34
35int flash_erase (flash_info_t *info, int s_first, int s_last)
36{
37 return 1;
38}
39
40/*-----------------------------------------------------------------------
41 */