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

Last change on this file since 653 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
RevLine 
[586]1#ifndef RESET_IOC_H
2#define RESET_IOC_H
[292]3
[653]4#if USE_SPI
[388]5#include <sdcard.h>
6#include <spi.h>
[653]7#endif /* USE_SPI */
8
9#if USE_BDV
[388]10#include <block_device.h>
[568]11#include <mcc.h>
[653]12#endif /* USE_BDV */
[292]13
[347]14#include <defs.h>
[586]15#include <reset_tty.h>
[292]16#include <io.h>
[653]17#include <reset_utils.h>
[292]18
[653]19#if USE_SPI
[586]20extern int reset_ioc_init();
[653]21#endif /* USE_SPI */
[292]22
[586]23extern int reset_ioc_read( unsigned int lba, 
24                           void*        buffer, 
25                           unsigned int count );
[292]26
[653]27#endif /* RESET_IOC_H */
[347]28
[292]29/*
30 * vim: tabstop=4 : shiftwidth=4 : expandtab
31 */
Note: See TracBrowser for help on using the repository browser.