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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [devs/] [flash/] [arm/] [lpc2xxx/] [current/] [include/] [flash_arm_lpc2xxx.h] - Blame information for rev 799

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 786 skrzyp
#ifndef CYGONCE_FLASH_ARM_LPC2XXX_H
2
#define CYGONCE_FLASH_ARM_LPC2XXX_H
3
 
4
//==========================================================================
5
//
6
//      flash_arm_lpc2xxx.h
7
//
8
//      Flash programming for LPC2xxx
9
//
10
//==========================================================================
11
// ####ECOSGPLCOPYRIGHTBEGIN####                                            
12
// -------------------------------------------                              
13
// This file is part of eCos, the Embedded Configurable Operating System.   
14
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
15
//
16
// eCos is free software; you can redistribute it and/or modify it under    
17
// the terms of the GNU General Public License as published by the Free     
18
// Software Foundation; either version 2 or (at your option) any later      
19
// version.                                                                 
20
//
21
// eCos is distributed in the hope that it will be useful, but WITHOUT      
22
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or    
23
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License    
24
// for more details.                                                        
25
//
26
// You should have received a copy of the GNU General Public License        
27
// along with eCos; if not, write to the Free Software Foundation, Inc.,    
28
// 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.            
29
//
30
// As a special exception, if other files instantiate templates or use      
31
// macros or inline functions from this file, or you compile this file      
32
// and link it with other works to produce a work based on this file,       
33
// this file does not by itself cause the resulting work to be covered by   
34
// the GNU General Public License. However the source code for this file    
35
// must still be made available in accordance with section (3) of the GNU   
36
// General Public License v2.                                               
37
//
38
// This exception does not invalidate any other reasons why a work based    
39
// on this file might be covered by the GNU General Public License.         
40
// -------------------------------------------                              
41
// ####ECOSGPLCOPYRIGHTEND####                                              
42
//==========================================================================
43
//#####DESCRIPTIONBEGIN####
44
//
45
// Author(s):    Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
46
// Contributors: 
47
// Date:         2007-07-12
48
// Purpose:      
49
// Description:  
50
//              
51
//####DESCRIPTIONEND####
52
//
53
//==========================================================================
54
 
55
struct iap_param {
56
        cyg_uint32 code;
57
        cyg_uint32 p[4];
58
};
59
 
60
#define IAP_PREPARE 50
61
#define IAP_COPY    51
62
#define IAP_ERASE   52
63
#define IAP_CHECK   53
64
#define IAP_PARTID  54
65
#define IAP_VERSION 55
66
#define IAP_COMPARE 56
67
 
68
#define IAP_CMD_SUCCESS 0
69
#define IAP_CMD_INVALID 1
70
#define IAP_SRC_ADDRERR 2
71
#define IAP_DST_ADDRERR 3
72
#define IAP_SRC_ADDRMAP 4
73
#define IAP_DST_ADDRMAP 5
74
#define IAP_CNT_INVALID 6
75
#define IAP_SEC_INVALID 7
76
#define IAP_SEC_NOTBLNK 8
77
#define IAP_SEC_NOTPREP 9
78
#define IAP_CMP_INEQUAL 10
79
#define IAP_BSY 11
80
 
81
#define IAP_LOCATION 0x7ffffff1
82
 
83
#endif

powered by: WebSVN 2.1.0

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