Ignore:
Timestamp:
Mar 3, 2014, 5:11:06 PM (10 years ago)
Author:
cfuguet
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/include/reset_ioc.h

    r586 r653  
    22#define RESET_IOC_H
    33
    4 #ifndef SOCLIB_IOC
     4#if USE_SPI
    55#include <sdcard.h>
    66#include <spi.h>
    7 #else
     7#endif /* USE_SPI */
     8
     9#if USE_BDV
    810#include <block_device.h>
    911#include <mcc.h>
    10 #endif
     12#endif /* USE_BDV */
    1113
    1214#include <defs.h>
    1315#include <reset_tty.h>
    1416#include <io.h>
     17#include <reset_utils.h>
    1518
     19#if USE_SPI
    1620extern int reset_ioc_init();
     21#endif /* USE_SPI */
    1722
    1823extern int reset_ioc_read( unsigned int lba,
     
    2025                           unsigned int count );
    2126
    22 extern int reset_ioc_completed();
    23 
    24 extern void reset_buf_invalidate ( const void * buffer,
    25                                    unsigned int line_size,
    26                                    unsigned int size );
    27 
    28 extern void reset_mcc_invalidate( const void * buffer,
    29                                   unsigned int size );
    30 #endif
     27#endif /* RESET_IOC_H */
    3128
    3229/*
Note: See TracChangeset for help on using the changeset viewer.