source: trunk/softs/tsar_boot/include/reset_ioc.h @ 737

Last change on this file since 737 was 653, checked in by cfuguet, 11 years ago

Introducing a RAMDISK driver in the preloader.

When using RAMDISK, execute the make command with the flags
SOCLIB=1 and RAMDISK=1. The RDK_PADDR_BASE variable must
also be set on the conf/<platform>/defs_platform.h

These modifications are backward compatibles. Therefore,
when no using RAMDISK, none modifications applied on the
platform configuration file.

File size: 558 bytes
Line 
1#ifndef RESET_IOC_H
2#define RESET_IOC_H
3
4#if USE_SPI
5#include <sdcard.h>
6#include <spi.h>
7#endif /* USE_SPI */
8
9#if USE_BDV
10#include <block_device.h>
11#include <mcc.h>
12#endif /* USE_BDV */
13
14#include <defs.h>
15#include <reset_tty.h>
16#include <io.h>
17#include <reset_utils.h>
18
19#if USE_SPI
20extern int reset_ioc_init();
21#endif /* USE_SPI */
22
23extern int reset_ioc_read( unsigned int lba, 
24                           void*        buffer, 
25                           unsigned int count );
26
27#endif /* RESET_IOC_H */
28
29/*
30 * vim: tabstop=4 : shiftwidth=4 : expandtab
31 */
Note: See TracBrowser for help on using the repository browser.