OpenOCD
s3c24xx_regs.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define S3C2410_NFADDR   S3C2410_NFREG(0x08)
 
#define S3C2410_NFCMD   S3C2410_NFREG(0x04)
 
#define S3C2410_NFCONF   S3C2410_NFREG(0x00)
 
#define S3C2410_NFCONF_4STEP   (1 << 13)
 
#define S3C2410_NFCONF_512BYTE   (1 << 14)
 
#define S3C2410_NFCONF_EN   (1 << 15)
 
#define S3C2410_NFCONF_INITECC   (1 << 12)
 
#define S3C2410_NFCONF_NFCE   (1 << 11)
 
#define S3C2410_NFCONF_TACLS(x)   ((x) << 8)
 
#define S3C2410_NFCONF_TWRPH0(x)   ((x) << 4)
 
#define S3C2410_NFCONF_TWRPH1(x)   ((x) << 0)
 
#define S3C2410_NFDATA   S3C2410_NFREG(0x0C)
 
#define S3C2410_NFECC   S3C2410_NFREG(0x14)
 
#define S3C2410_NFREG(x)   (x)
 
#define S3C2410_NFSTAT   S3C2410_NFREG(0x10)
 
#define S3C2410_NFSTAT_BUSY   (1 << 0)
 
#define S3C2412_NFCONF_ECC_MLC   (1 << 24)
 
#define S3C2412_NFCONF_ECCCLKCON   (1 << 30)
 
#define S3C2412_NFCONF_NANDBOOT   (1 << 31)
 
#define S3C2412_NFCONF_TACLS_MASK   (7 << 12) /* 1 extra bit of Tacls */
 
#define S3C2412_NFCONT_ECC4_DECINT   (1 << 12)
 
#define S3C2412_NFCONT_ECC4_DIRWR   (1 << 18)
 
#define S3C2412_NFCONT_ECC4_ENCINT   (1 << 13)
 
#define S3C2412_NFCONT_INIT_MAIN_ECC   (1 << 5)
 
#define S3C2412_NFCONT_LOCKTIGHT   (1 << 17)
 
#define S3C2412_NFCONT_MAIN_ECC_LOCK   (1 << 7)
 
#define S3C2412_NFCONT_NFCE0   (1 << 1)
 
#define S3C2412_NFCONT_NFCE1   (1 << 2)
 
#define S3C2412_NFCONT_SOFTLOCK   (1 << 16)
 
#define S3C2412_NFEBLK   S3C2410_NFREG(0x24)
 
#define S3C2412_NFECCERR_1BIT   (1)
 
#define S3C2412_NFECCERR_ECCAREA   (3)
 
#define S3C2412_NFECCERR_MAIN_ERR(x)   (((x) >> 2) & 0x3)
 
#define S3C2412_NFECCERR_MERRBIT(x)   (((x) >> 4) & 0x7)
 
#define S3C2412_NFECCERR_MERRDATA(x)   (((x) >> 7) & 0x3ff)
 
#define S3C2412_NFECCERR_MULTIBIT   (2)
 
#define S3C2412_NFECCERR_NONE   (0)
 
#define S3C2412_NFECCERR_SERRBIT(x)   (((x) >> 18) & 0x7)
 
#define S3C2412_NFECCERR_SERRDATA(x)   (((x) >> 21) & 0xf)
 
#define S3C2412_NFECCERR_SPARE_ERR(x)   (((x) >> 2) & 0x3)
 
#define S3C2412_NFMECC0   S3C2410_NFREG(0x34)
 
#define S3C2412_NFMECC1   S3C2410_NFREG(0x38)
 
#define S3C2412_NFMECC_ERR0   S3C2410_NFREG(0x2C)
 
#define S3C2412_NFMECC_ERR1   S3C2410_NFREG(0x30)
 
#define S3C2412_NFSBLK   S3C2410_NFREG(0x20)
 
#define S3C2412_NFSECC   S3C2410_NFREG(0x3C)
 
#define S3C2412_NFSTAT   S3C2410_NFREG(0x28)
 
#define S3C2412_NFSTAT_ECC_DECDONE   (1 << 6)
 
#define S3C2412_NFSTAT_ECC_ENCDONE   (1 << 7)
 
#define S3C2412_NFSTAT_ILLEGAL_ACCESS   (1 << 5)
 
#define S3C2412_NFSTAT_NFCE0   (1 << 2)
 
#define S3C2412_NFSTAT_NFCE1   (1 << 3)
 
#define S3C2412_NFSTAT_READY   (1 << 0)
 
#define S3C2412_NFSTAT_RES1   (1 << 1)
 
#define S3C2412_NFSTAT_RNB_CHANGE   (1 << 4)
 
#define S3C2440_NFADDR   S3C2410_NFREG(0x0C)
 
#define S3C2440_NFCMD   S3C2410_NFREG(0x08)
 
#define S3C2440_NFCONF_ADVFLASH   (1 << 3)
 
#define S3C2440_NFCONF_BUSWIDTH_16   (1 << 0)
 
#define S3C2440_NFCONF_BUSWIDTH_8   (0 << 0)
 
#define S3C2440_NFCONF_TACLS(x)   ((x) << 12)
 
#define S3C2440_NFCONF_TWRPH0(x)   ((x) << 8)
 
#define S3C2440_NFCONF_TWRPH1(x)   ((x) << 4)
 
#define S3C2440_NFCONT   S3C2410_NFREG(0x04)
 
#define S3C2440_NFCONT_ENABLE   (1 << 0)
 
#define S3C2440_NFCONT_ILLEGALACC_EN   (1 << 10)
 
#define S3C2440_NFCONT_INITECC   (1 << 4)
 
#define S3C2440_NFCONT_LOCKTIGHT   (1 << 13)
 
#define S3C2440_NFCONT_MAIN_ECCLOCK   (1 << 5)
 
#define S3C2440_NFCONT_NFCE   (1 << 1)
 
#define S3C2440_NFCONT_RN_FALLING   (1 << 8)
 
#define S3C2440_NFCONT_RNBINT_EN   (1 << 9)
 
#define S3C2440_NFCONT_SOFTLOCK   (1 << 12)
 
#define S3C2440_NFCONT_SPARE_ECCLOCK   (1 << 6)
 
#define S3C2440_NFDATA   S3C2410_NFREG(0x10)
 
#define S3C2440_NFEBLK   S3C2410_NFREG(0x3C)
 
#define S3C2440_NFECCD   S3C2410_NFREG(0x1C)
 
#define S3C2440_NFECCD0   S3C2410_NFREG(0x14)
 
#define S3C2440_NFECCD1   S3C2410_NFREG(0x18)
 
#define S3C2440_NFESTAT0   S3C2410_NFREG(0x24)
 
#define S3C2440_NFESTAT1   S3C2410_NFREG(0x28)
 
#define S3C2440_NFMECC0   S3C2410_NFREG(0x2C)
 
#define S3C2440_NFMECC1   S3C2410_NFREG(0x30)
 
#define S3C2440_NFSBLK   S3C2410_NFREG(0x38)
 
#define S3C2440_NFSECC   S3C2410_NFREG(0x34)
 
#define S3C2440_NFSTAT   S3C2410_NFREG(0x20)
 
#define S3C2440_NFSTAT_ILLEGAL_ACCESS   (1 << 3)
 
#define S3C2440_NFSTAT_NCE   (1 << 1)
 
#define S3C2440_NFSTAT_READY   (1 << 0)
 
#define S3C2440_NFSTAT_RNB_CHANGE   (1 << 2)
 

Macro Definition Documentation

◆ S3C2410_NFADDR

#define S3C2410_NFADDR   S3C2410_NFREG(0x08)

Definition at line 20 of file s3c24xx_regs.h.

◆ S3C2410_NFCMD

#define S3C2410_NFCMD   S3C2410_NFREG(0x04)

Definition at line 19 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF

#define S3C2410_NFCONF   S3C2410_NFREG(0x00)

Definition at line 18 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_4STEP

#define S3C2410_NFCONF_4STEP   (1 << 13)

Definition at line 52 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_512BYTE

#define S3C2410_NFCONF_512BYTE   (1 << 14)

Definition at line 51 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_EN

#define S3C2410_NFCONF_EN   (1 << 15)

Definition at line 50 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_INITECC

#define S3C2410_NFCONF_INITECC   (1 << 12)

Definition at line 53 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_NFCE

#define S3C2410_NFCONF_NFCE   (1 << 11)

Definition at line 54 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_TACLS

#define S3C2410_NFCONF_TACLS (   x)    ((x) << 8)

Definition at line 55 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_TWRPH0

#define S3C2410_NFCONF_TWRPH0 (   x)    ((x) << 4)

Definition at line 56 of file s3c24xx_regs.h.

◆ S3C2410_NFCONF_TWRPH1

#define S3C2410_NFCONF_TWRPH1 (   x)    ((x) << 0)

Definition at line 57 of file s3c24xx_regs.h.

◆ S3C2410_NFDATA

#define S3C2410_NFDATA   S3C2410_NFREG(0x0C)

Definition at line 21 of file s3c24xx_regs.h.

◆ S3C2410_NFECC

#define S3C2410_NFECC   S3C2410_NFREG(0x14)

Definition at line 23 of file s3c24xx_regs.h.

◆ S3C2410_NFREG

#define S3C2410_NFREG (   x)    (x)

Definition at line 16 of file s3c24xx_regs.h.

◆ S3C2410_NFSTAT

#define S3C2410_NFSTAT   S3C2410_NFREG(0x10)

Definition at line 22 of file s3c24xx_regs.h.

◆ S3C2410_NFSTAT_BUSY

#define S3C2410_NFSTAT_BUSY   (1 << 0)

Definition at line 59 of file s3c24xx_regs.h.

◆ S3C2412_NFCONF_ECC_MLC

#define S3C2412_NFCONF_ECC_MLC   (1 << 24)

Definition at line 86 of file s3c24xx_regs.h.

◆ S3C2412_NFCONF_ECCCLKCON

#define S3C2412_NFCONF_ECCCLKCON   (1 << 30)

Definition at line 85 of file s3c24xx_regs.h.

◆ S3C2412_NFCONF_NANDBOOT

#define S3C2412_NFCONF_NANDBOOT   (1 << 31)

Definition at line 84 of file s3c24xx_regs.h.

◆ S3C2412_NFCONF_TACLS_MASK

#define S3C2412_NFCONF_TACLS_MASK   (7 << 12) /* 1 extra bit of Tacls */

Definition at line 87 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_ECC4_DECINT

#define S3C2412_NFCONT_ECC4_DECINT   (1 << 12)

Definition at line 93 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_ECC4_DIRWR

#define S3C2412_NFCONT_ECC4_DIRWR   (1 << 18)

Definition at line 89 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_ECC4_ENCINT

#define S3C2412_NFCONT_ECC4_ENCINT   (1 << 13)

Definition at line 92 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_INIT_MAIN_ECC

#define S3C2412_NFCONT_INIT_MAIN_ECC   (1 << 5)

Definition at line 95 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_LOCKTIGHT

#define S3C2412_NFCONT_LOCKTIGHT   (1 << 17)

Definition at line 90 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_MAIN_ECC_LOCK

#define S3C2412_NFCONT_MAIN_ECC_LOCK   (1 << 7)

Definition at line 94 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_NFCE0

#define S3C2412_NFCONT_NFCE0   (1 << 1)

Definition at line 97 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_NFCE1

#define S3C2412_NFCONT_NFCE1   (1 << 2)

Definition at line 96 of file s3c24xx_regs.h.

◆ S3C2412_NFCONT_SOFTLOCK

#define S3C2412_NFCONT_SOFTLOCK   (1 << 16)

Definition at line 91 of file s3c24xx_regs.h.

◆ S3C2412_NFEBLK

#define S3C2412_NFEBLK   S3C2410_NFREG(0x24)

Definition at line 42 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_1BIT

#define S3C2412_NFECCERR_1BIT   (1)

Definition at line 115 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_ECCAREA

#define S3C2412_NFECCERR_ECCAREA   (3)

Definition at line 117 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_MAIN_ERR

#define S3C2412_NFECCERR_MAIN_ERR (   x)    (((x) >> 2) & 0x3)

Definition at line 113 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_MERRBIT

#define S3C2412_NFECCERR_MERRBIT (   x)    (((x) >> 4) & 0x7)

Definition at line 111 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_MERRDATA

#define S3C2412_NFECCERR_MERRDATA (   x)    (((x) >> 7) & 0x3ff)

Definition at line 110 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_MULTIBIT

#define S3C2412_NFECCERR_MULTIBIT   (2)

Definition at line 116 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_NONE

#define S3C2412_NFECCERR_NONE   (0)

Definition at line 114 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_SERRBIT

#define S3C2412_NFECCERR_SERRBIT (   x)    (((x) >> 18) & 0x7)

Definition at line 109 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_SERRDATA

#define S3C2412_NFECCERR_SERRDATA (   x)    (((x) >> 21) & 0xf)

Definition at line 108 of file s3c24xx_regs.h.

◆ S3C2412_NFECCERR_SPARE_ERR

#define S3C2412_NFECCERR_SPARE_ERR (   x)    (((x) >> 2) & 0x3)

Definition at line 112 of file s3c24xx_regs.h.

◆ S3C2412_NFMECC0

#define S3C2412_NFMECC0   S3C2410_NFREG(0x34)

Definition at line 46 of file s3c24xx_regs.h.

◆ S3C2412_NFMECC1

#define S3C2412_NFMECC1   S3C2410_NFREG(0x38)

Definition at line 47 of file s3c24xx_regs.h.

◆ S3C2412_NFMECC_ERR0

#define S3C2412_NFMECC_ERR0   S3C2410_NFREG(0x2C)

Definition at line 44 of file s3c24xx_regs.h.

◆ S3C2412_NFMECC_ERR1

#define S3C2412_NFMECC_ERR1   S3C2410_NFREG(0x30)

Definition at line 45 of file s3c24xx_regs.h.

◆ S3C2412_NFSBLK

#define S3C2412_NFSBLK   S3C2410_NFREG(0x20)

Definition at line 41 of file s3c24xx_regs.h.

◆ S3C2412_NFSECC

#define S3C2412_NFSECC   S3C2410_NFREG(0x3C)

Definition at line 48 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT

#define S3C2412_NFSTAT   S3C2410_NFREG(0x28)

Definition at line 43 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_ECC_DECDONE

#define S3C2412_NFSTAT_ECC_DECDONE   (1 << 6)

Definition at line 100 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_ECC_ENCDONE

#define S3C2412_NFSTAT_ECC_ENCDONE   (1 << 7)

Definition at line 99 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_ILLEGAL_ACCESS

#define S3C2412_NFSTAT_ILLEGAL_ACCESS   (1 << 5)

Definition at line 101 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_NFCE0

#define S3C2412_NFSTAT_NFCE0   (1 << 2)

Definition at line 104 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_NFCE1

#define S3C2412_NFSTAT_NFCE1   (1 << 3)

Definition at line 103 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_READY

#define S3C2412_NFSTAT_READY   (1 << 0)

Definition at line 106 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_RES1

#define S3C2412_NFSTAT_RES1   (1 << 1)

Definition at line 105 of file s3c24xx_regs.h.

◆ S3C2412_NFSTAT_RNB_CHANGE

#define S3C2412_NFSTAT_RNB_CHANGE   (1 << 4)

Definition at line 102 of file s3c24xx_regs.h.

◆ S3C2440_NFADDR

#define S3C2440_NFADDR   S3C2410_NFREG(0x0C)

Definition at line 27 of file s3c24xx_regs.h.

◆ S3C2440_NFCMD

#define S3C2440_NFCMD   S3C2410_NFREG(0x08)

Definition at line 26 of file s3c24xx_regs.h.

◆ S3C2440_NFCONF_ADVFLASH

#define S3C2440_NFCONF_ADVFLASH   (1 << 3)

Definition at line 63 of file s3c24xx_regs.h.

◆ S3C2440_NFCONF_BUSWIDTH_16

#define S3C2440_NFCONF_BUSWIDTH_16   (1 << 0)

Definition at line 62 of file s3c24xx_regs.h.

◆ S3C2440_NFCONF_BUSWIDTH_8

#define S3C2440_NFCONF_BUSWIDTH_8   (0 << 0)

Definition at line 61 of file s3c24xx_regs.h.

◆ S3C2440_NFCONF_TACLS

#define S3C2440_NFCONF_TACLS (   x)    ((x) << 12)

Definition at line 64 of file s3c24xx_regs.h.

◆ S3C2440_NFCONF_TWRPH0

#define S3C2440_NFCONF_TWRPH0 (   x)    ((x) << 8)

Definition at line 65 of file s3c24xx_regs.h.

◆ S3C2440_NFCONF_TWRPH1

#define S3C2440_NFCONF_TWRPH1 (   x)    ((x) << 4)

Definition at line 66 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT

#define S3C2440_NFCONT   S3C2410_NFREG(0x04)

Definition at line 25 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_ENABLE

#define S3C2440_NFCONT_ENABLE   (1 << 0)

Definition at line 77 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_ILLEGALACC_EN

#define S3C2440_NFCONT_ILLEGALACC_EN   (1 << 10)

Definition at line 70 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_INITECC

#define S3C2440_NFCONT_INITECC   (1 << 4)

Definition at line 75 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_LOCKTIGHT

#define S3C2440_NFCONT_LOCKTIGHT   (1 << 13)

Definition at line 68 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_MAIN_ECCLOCK

#define S3C2440_NFCONT_MAIN_ECCLOCK   (1 << 5)

Definition at line 74 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_NFCE

#define S3C2440_NFCONT_NFCE   (1 << 1)

Definition at line 76 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_RN_FALLING

#define S3C2440_NFCONT_RN_FALLING   (1 << 8)

Definition at line 72 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_RNBINT_EN

#define S3C2440_NFCONT_RNBINT_EN   (1 << 9)

Definition at line 71 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_SOFTLOCK

#define S3C2440_NFCONT_SOFTLOCK   (1 << 12)

Definition at line 69 of file s3c24xx_regs.h.

◆ S3C2440_NFCONT_SPARE_ECCLOCK

#define S3C2440_NFCONT_SPARE_ECCLOCK   (1 << 6)

Definition at line 73 of file s3c24xx_regs.h.

◆ S3C2440_NFDATA

#define S3C2440_NFDATA   S3C2410_NFREG(0x10)

Definition at line 28 of file s3c24xx_regs.h.

◆ S3C2440_NFEBLK

#define S3C2440_NFEBLK   S3C2410_NFREG(0x3C)

Definition at line 39 of file s3c24xx_regs.h.

◆ S3C2440_NFECCD

#define S3C2440_NFECCD   S3C2410_NFREG(0x1C)

Definition at line 31 of file s3c24xx_regs.h.

◆ S3C2440_NFECCD0

#define S3C2440_NFECCD0   S3C2410_NFREG(0x14)

Definition at line 29 of file s3c24xx_regs.h.

◆ S3C2440_NFECCD1

#define S3C2440_NFECCD1   S3C2410_NFREG(0x18)

Definition at line 30 of file s3c24xx_regs.h.

◆ S3C2440_NFESTAT0

#define S3C2440_NFESTAT0   S3C2410_NFREG(0x24)

Definition at line 33 of file s3c24xx_regs.h.

◆ S3C2440_NFESTAT1

#define S3C2440_NFESTAT1   S3C2410_NFREG(0x28)

Definition at line 34 of file s3c24xx_regs.h.

◆ S3C2440_NFMECC0

#define S3C2440_NFMECC0   S3C2410_NFREG(0x2C)

Definition at line 35 of file s3c24xx_regs.h.

◆ S3C2440_NFMECC1

#define S3C2440_NFMECC1   S3C2410_NFREG(0x30)

Definition at line 36 of file s3c24xx_regs.h.

◆ S3C2440_NFSBLK

#define S3C2440_NFSBLK   S3C2410_NFREG(0x38)

Definition at line 38 of file s3c24xx_regs.h.

◆ S3C2440_NFSECC

#define S3C2440_NFSECC   S3C2410_NFREG(0x34)

Definition at line 37 of file s3c24xx_regs.h.

◆ S3C2440_NFSTAT

#define S3C2440_NFSTAT   S3C2410_NFREG(0x20)

Definition at line 32 of file s3c24xx_regs.h.

◆ S3C2440_NFSTAT_ILLEGAL_ACCESS

#define S3C2440_NFSTAT_ILLEGAL_ACCESS   (1 << 3)

Definition at line 82 of file s3c24xx_regs.h.

◆ S3C2440_NFSTAT_NCE

#define S3C2440_NFSTAT_NCE   (1 << 1)

Definition at line 80 of file s3c24xx_regs.h.

◆ S3C2440_NFSTAT_READY

#define S3C2440_NFSTAT_READY   (1 << 0)

Definition at line 79 of file s3c24xx_regs.h.

◆ S3C2440_NFSTAT_RNB_CHANGE

#define S3C2440_NFSTAT_RNB_CHANGE   (1 << 2)

Definition at line 81 of file s3c24xx_regs.h.