EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines | Functions

S3C24xxPkg/vivi/drivers/mtd/nand/smc_core.c File Reference

#include "config.h"
#include "mtd/mtd.h"
#include "mtd/nand.h"
#include "mtd/nand_ids.h"
#include "mtd/nand_ecc.h"
#include "time.h"
#include "printk.h"
#include <types.h>
#include <errno.h>

Go to the source code of this file.


#define nand_select()
#define nand_deselect()   this->hwcontrol(NAND_CTL_CLRNCE);


int smc_read_ecc_512 (struct mtd_info *mtd, u_char *ecc_code)
int smc_scan (struct mtd_info *mtd)

Define Documentation

#define nand_deselect ( )    this->hwcontrol(NAND_CTL_CLRNCE);

Definition at line 27 of file smc_core.c.

#define nand_select ( )
this->hwcontrol(NAND_CTL_SETNCE); \
                        nand_command(mtd, NAND_CMD_RESET, -1, -1); \

Definition at line 24 of file smc_core.c.

Function Documentation

int smc_read_ecc_512 ( struct mtd_info mtd,
u_char ecc_code 
) [inline]

Definition at line 196 of file smc_core.c.

int smc_scan ( struct mtd_info mtd)

Definition at line 1003 of file smc_core.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines