#include <config.h>
#include <mc68332.h>
#include <cubeos.h>
#include <stdio.h>
#include <flash.h>
Include dependency graph for flash.c:
Go to the source code of this file.
Defines | |
#define | WAIT 100000 |
Functions | |
int | FLASH_init () |
verify the presence of a flash rom in the system. More... | |
int | FLASH_bcopy (void *s1, void *s2, size_t n) |
rewrites the flash with data. More... | |
int | FLASH_CSInfo (unsigned short br, unsigned short or) |
print the contents of a 68332 SIM ChipSelect register set. More... | |
Variables | |
unsigned short | FLASH_MID |
unsigned short | FLASH_DID |
Definition in file flash.c.
|
Definition at line 22 of file flash.c. Referenced by FLASH_bcopy. |
|
rewrites the flash with data.
Definition at line 108 of file flash.c. References LED_OFF, LED_ON, readshort, WAIT, and writeshort. |
|
print the contents of a 68332 SIM ChipSelect register set.
|
|
verify the presence of a flash rom in the system.
Definition at line 37 of file flash.c. References FLASH_CSInfo, FLASH_DID, FLASH_MID, readshort, SIM_CSBARBT, SIM_CSORBT, and writeshort. |
|
Definition at line 30 of file flash.c. Referenced by FLASH_init. |
|
Definition at line 29 of file flash.c. Referenced by FLASH_init. |