~ubuntu-branches/ubuntu/lucid/skyeye/lucid-proposed

« back to all changes in this revision

Viewing changes to arch/arm/mach/s3c44b0.h

  • Committer: Bazaar Package Importer
  • Author(s): Yu Guanghui
  • Date: 2007-08-07 13:25:49 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20070807132549-96159k1obat1fxr0
Tags: 1.2.3-1
* New upstream release
* Added NO_BFD=1, don't require libbfd now. (Closes:Bug#423933) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 
13
13
#define REGBASE         0x01c00000
14
14
#define REGL(addr)      ((REGBASE+addr))
15
 
//#define REGL(addr)      (*(volatile unsigned int *)(REGBASE+addr))
16
 
#define REGW(addr)      (*(volatile unsigned short *)(REGBASE+addr))
 
15
#define REGW(addr)      ((REGBASE+addr))
17
16
#define REGB(addr)      ((REGBASE+addr))
18
 
//#define REGB(addr)      (*(volatile unsigned char *)(REGBASE+addr))
19
17
 
20
18
 
21
19
/*****************************/
333
331
 
334
332
#define TIMER_OP(tcon, n, op)   (tcon) & ((1 << (op)) << (4 * (n)))
335
333
 
 
334
/*
 
335
 * IIS extended registers: For device simulation in SkyEye.
 
336
 * 2007-03-25 Added by Anthony Lee.
 
337
 *
 
338
 *      Register                Bit             Description
 
339
 *      IISFIF_RX_CONTROL(R)
 
340
 *                              [20:17]         should be 1010
 
341
 *                              [16]            0 - empty
 
342
 *                                              1 - not empty
 
343
 *                              [15:0]          data
 
344
 *
 
345
 *      IISFIF_TX_CONTROL(R/W)
 
346
 *                              [11:8]          should be 1010
 
347
 *                              [7:4]           0001 - Start to transmit
 
348
 *                                              0010 - Request state
 
349
 *                              [3:0]           data count
 
350
 */
 
351
#define IISFIF_RX_CONTROL       (IISFIF + 0x04)
 
352
#define IISFIF_TX_CONTROL       (IISFIF + 0x08)
 
353
 
336
354
#endif /* __ASM_ARCH_HARDWARE_H */
 
355