Update of /cvsroot/blob/blob/include/blob/arch
In directory sc8-pr-cvs1:/tmp/cvs-serv18102/include/blob/arch
Added Files:
pxa-regs.h
Log Message:
Even linux-2.4.19-rmk7-pxa2 doesn't contain the newest pxa-regs.h with
all needed defines.
--- NEW FILE: pxa-regs.h ---
/*
* linux/include/asm-arm/arch-pxa/pxa-regs.h
*
* Author: Nicolas Pitre
* Created: Jun 15, 2001
* Copyright: MontaVista Software Inc.
*
* 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.
*/
#ifndef _PXA_REGS_H_
#define _PXA_REGS_H_
#include "bitfield.h"
// FIXME hack so that SA-1111.h will work [cb]
[...1332 lines suppressed...]
#define MDREFR_K0DB2 (1 << 14) /* SDCLK0 Divide by 2 Control/Status */
#define MDREFR_K0RUN (1 << 13) /* SDCLK0 Run Control/Status */
#define MDREFR_E0PIN (1 << 12) /* SDCKE0 Level Control/Status */
#define MSC_RT Fld(2,0) /* ROM type */
#define MSC_NonBrst (0 << FShft (MSC_RT))
#define MSC_SRAM (1 << FShft (MSC_RT))
#define MSC_Brst4 (2 << FShft (MSC_RT))
#define MSC_Brst8 (3 << FShft (MSC_RT))
#define MSC_VarLat (4 << FShft (MSC_RT))
#define MSC_RBW (1 << 3) /* ROM bus width */
#define MSC_32BitStMem (MSC_RBW*0)
#define MSC_16BitStMem (MSC_RBW*1)
#define MSC_RDF(x) (((x) & 15) << 4) /* ROM delay first access */
#define MSC_RDN(x) (((x) & 15) << 8) /* ROM delay next access */
#define MSC_RRR(x) (((x) & 7) << 12) /* ROM/SRAM recovery time */
#define MSC_RBUFF (1 << 15) /* Return Data Buffer vs. Streaming behavior */
#define MSC_RDBuf (MSC_RBUFF*0)
#define MSC_Stream (MSC_RBUFF*1)
#endif
|