OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [flash/] [powerpc/] [vads/] [current/] [src/] [powerpc_vads_flash.c] - Blame information for rev 786

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
//==========================================================================
2
//
3
//      powerpc_vads_flash.c
4
//
5
//      Flash programming for SHARP device on POWERPC MPC8260 Voyager
6
//      ADS board
7
//
8
//==========================================================================
9
// ####ECOSGPLCOPYRIGHTBEGIN####                                            
10
// -------------------------------------------                              
11
// This file is part of eCos, the Embedded Configurable Operating System.   
12
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
13
//
14
// eCos is free software; you can redistribute it and/or modify it under    
15
// the terms of the GNU General Public License as published by the Free     
16
// Software Foundation; either version 2 or (at your option) any later      
17
// version.                                                                 
18
//
19
// eCos is distributed in the hope that it will be useful, but WITHOUT      
20
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or    
21
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License    
22
// for more details.                                                        
23
//
24
// You should have received a copy of the GNU General Public License        
25
// along with eCos; if not, write to the Free Software Foundation, Inc.,    
26
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.            
27
//
28
// As a special exception, if other files instantiate templates or use      
29
// macros or inline functions from this file, or you compile this file      
30
// and link it with other works to produce a work based on this file,       
31
// this file does not by itself cause the resulting work to be covered by   
32
// the GNU General Public License. However the source code for this file    
33
// must still be made available in accordance with section (3) of the GNU   
34
// General Public License v2.                                               
35
//
36
// This exception does not invalidate any other reasons why a work based    
37
// on this file might be covered by the GNU General Public License.         
38
// -------------------------------------------                              
39
// ####ECOSGPLCOPYRIGHTEND####                                              
40
//==========================================================================
41
//#####DESCRIPTIONBEGIN####
42
//
43
// Author(s):    pfine
44
// Original:     jskov
45
// Contributors: 
46
// Date:         2002-01-11
47
// Purpose:      
48
// Description:  
49
//              
50
//####DESCRIPTIONEND####
51
//
52
//==========================================================================
53
 
54
//--------------------------------------------------------------------------
55
// Device properties
56
 
57
#define CYGNUM_FLASH_INTERLEAVE (4)
58
#define CYGNUM_FLASH_SERIES     (1)
59
#define CYGNUM_FLASH_WIDTH      (8)
60
#define nPF_HACK
61
#ifdef PF_HACK
62
#define CYGNUM_FLASH_BASE       (0xfe000000u)
63
#else
64
#define CYGNUM_FLASH_BASE       (0xff800000u)
65
#endif
66
 
67
//--------------------------------------------------------------------------
68
// Platform specific extras
69
 
70
//--------------------------------------------------------------------------
71
// Now include the driver code.
72
#include "cyg/io/flash_28fxxx.inl"
73
 
74
// ------------------------------------------------------------------------
75
// EOF powerpc_vads_flash.c

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.