BOOTLOADER
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
bootloader
drivers
nandflash.c
Go to the documentation of this file.
1
/******************************************************
2
* Function: s3c2440 nandflash driver
3
*
4
* File: nandflash.c
5
* Author: Book Chen
6
* Date: 2008.07.18
7
*******************************************************
8
*/
9
#include "
includes.h
"
10
11
void
F_NandflashInit
(
void
);
12
void
F_NandflashSvc
(
void
);
13
14
void
F_NandflashInit
(
void
){
15
//rCLKCON |= 0xffff0;
16
//enable nand flash control, initilize ecc, chip disable,
17
rNFCONF
= (1<<15)|(1<<12)|(1<<11)|(7<<8)|(7<<4)|(7);
18
}
19
void
F_NandflashSvc
(
void
){}
Generated on Wed Jun 13 2012 00:03:08 for BOOTLOADER by
1.8.1.1