URL
https://opencores.org/ocsvn/gecko3/gecko3/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
9 |
nussgipfel |
/* GECKO3COM
|
2 |
|
|
*
|
3 |
|
|
* Copyright (C) 2008 by
|
4 |
|
|
* ___ ____ _ _
|
5 |
|
|
* ( _`\ ( __)( ) ( )
|
6 |
|
|
* | (_) )| (_ | |_| | Berne University of Applied Sciences
|
7 |
|
|
* | _ <'| _) | _ | School of Engineering and
|
8 |
|
|
* | (_) )| | | | | | Information Technology
|
9 |
|
|
* (____/'(_) (_) (_)
|
10 |
|
|
*
|
11 |
|
|
*
|
12 |
|
|
* This program is free software: you can redistribute it and/or modify
|
13 |
|
|
* it under the terms of the GNU General Public License as published by
|
14 |
|
|
* the Free Software Foundation, either version 3 of the License, or
|
15 |
|
|
* (at your option) any later version.
|
16 |
|
|
*
|
17 |
|
|
* This program is distributed in the hope that it will be useful,
|
18 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20 |
|
|
* GNU General Public License for more details.
|
21 |
|
|
* You should have received a copy of the GNU General Public License
|
22 |
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
23 |
|
|
*/
|
24 |
|
|
|
25 |
|
|
/*********************************************************************/
|
26 |
|
|
/** \file gecko3com_spi.h
|
27 |
|
|
*********************************************************************
|
28 |
|
|
* \brief definitions for the SPI flash file handling
|
29 |
|
|
* (length of file slots etc.)
|
30 |
|
|
*
|
31 |
|
|
* \author Christoph Zimmermann bfh.ch
|
32 |
|
|
*
|
33 |
|
|
*/
|
34 |
|
|
|
35 |
|
|
#ifndef INCLUDED_GECKO3COM_SPI_H
|
36 |
|
|
#define INCLUDED_GECKO3COM_SPI_H
|
37 |
|
|
|
38 |
13 |
nussgipfel |
#include "spi_flash.h"
|
39 |
9 |
nussgipfel |
|
40 |
13 |
nussgipfel |
#define start_adress_slot0(flash_drv) 0x00 /**< Start adress of the first fpga configuration file in the spi flash */
|
41 |
|
|
#define start_adress_slot1(flash_drv) flash_drv.capacity >> 1 /**< Start adress of the second fpga configuration file in the spi flash */
|
42 |
9 |
nussgipfel |
|
43 |
|
|
|
44 |
13 |
nussgipfel |
|
45 |
9 |
nussgipfel |
#endif /* INCLUDED_GECKO3COM_SPI_H */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.