URL
https://opencores.org/ocsvn/amber/amber/trunk
Subversion Repositories amber
Compare Revisions
- This comparison shows the changes necessary to convert path
/amber/trunk/sw
- from Rev 25 to Rev 28
- ↔ Reverse comparison
Rev 25 → Rev 28
/boot-loader/boot-loader.c
46,16 → 46,7
#include "boot-loader.h" |
#include "fpga-version.h" |
|
/* Function prototypes */ |
void parse ( char * buf ); |
void printm ( unsigned int address ); |
int get_hex ( char * buf, int start_position, unsigned int *address, unsigned int *length ); |
int get_address_data ( char * buf, unsigned int *address, unsigned int *data ); |
void load_run( int type, unsigned int address ); |
void print_spaces ( int num ); |
void print_help ( void ); |
|
|
int main ( void ) { |
int c, esc = 0; |
char buf [20]; /* current line */ |
/boot-loader/boot-loader.h
47,3 → 47,11
#define DEBUG_BUF 0x01800000 |
#define FILE_MAX_SIZE 0x00800000 /* 8MB max Xmodem transfer file size */ |
|
/* Function prototypes */ |
void parse ( char * buf ); |
void printm ( unsigned int address ); |
int get_hex ( char * buf, int start_position, unsigned int *address, unsigned int *length ); |
int get_address_data ( char * buf, unsigned int *address, unsigned int *data ); |
void load_run( int type, unsigned int address ); |
void print_spaces ( int num ); |
void print_help ( void ); |