mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-18 06:50:08 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/* linux/include/asm-arm/arch-s3c2410/regs-nand.h
|
|
*
|
|
* Copyright (c) 2004 Simtec Electronics <linux@simtec.co.uk>
|
|
* http://www.simtec.co.uk/products/SWLINUX/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*
|
|
* S3C2410 clock register definitions
|
|
*
|
|
* Changelog:
|
|
* 18-Aug-2004 BJD Copied file from 2.4 and updated
|
|
*/
|
|
|
|
#ifndef __ASM_ARM_REGS_NAND
|
|
#define __ASM_ARM_REGS_NAND "$Id: nand.h,v 1.3 2003/12/09 11:36:29 ben Exp $"
|
|
|
|
|
|
#define S3C2410_NFREG(x) (x)
|
|
|
|
#define S3C2410_NFCONF S3C2410_NFREG(0x00)
|
|
#define S3C2410_NFCMD S3C2410_NFREG(0x04)
|
|
#define S3C2410_NFADDR S3C2410_NFREG(0x08)
|
|
#define S3C2410_NFDATA S3C2410_NFREG(0x0C)
|
|
#define S3C2410_NFSTAT S3C2410_NFREG(0x10)
|
|
#define S3C2410_NFECC S3C2410_NFREG(0x14)
|
|
|
|
#define S3C2410_NFCONF_EN (1<<15)
|
|
#define S3C2410_NFCONF_512BYTE (1<<14)
|
|
#define S3C2410_NFCONF_4STEP (1<<13)
|
|
#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_NFSTAT_BUSY (1<<0)
|
|
|
|
/* think ECC can only be 8bit read? */
|
|
|
|
#endif /* __ASM_ARM_REGS_NAND */
|
|
|