~ubuntu-branches/ubuntu/maverick/uboot-imx/maverick

« back to all changes in this revision

Viewing changes to include/s3c6400.h

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2010-01-20 15:41:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100120154126-7bha1jeyjegu7xm5
Tags: 2009.08+really2009.01-0ubuntu1
* revert to the 2009.01 upstream version, 2009.08 has still to 
  many work in progress items in the freescale patchset (MMC and NIC
  dont work at all)
* add the latest patchset from freescale for 2009.01
* add 1002_enable_hush_shell_and_ext2.patch to enable hush shell and ext2 
* add 1003_fix_board_revision_numbers to make sure babbage 2.5 boards have 
  revision 51120 and babbage 3.0 boards have revision 51130 properly set in 
  their cpuinfo

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#ifndef __S3C6400_H__
32
32
#define __S3C6400_H__
33
33
 
 
34
#ifndef CONFIG_S3C6400
 
35
#define CONFIG_S3C6400          1
 
36
#endif
 
37
 
34
38
#define S3C64XX_UART_CHANNELS   3
35
39
#define S3C64XX_SPI_CHANNELS    2
36
40
 
211
215
#define GPACONSLP_OFFSET        0x0C
212
216
#define GPAPUDSLP_OFFSET        0x10
213
217
#define GPBCON_OFFSET           0x20
214
 
#define GPBDAT_OFFSET           0x24
215
 
#define GPBPUD_OFFSET           0x28
216
 
#define GPBCONSLP_OFFSET        0x2C
 
218
#define GPBDAT_OFFSET           0x04
 
219
#define GPBPUD_OFFSET           0x08
 
220
#define GPBCONSLP_OFFSET        0x0C
217
221
#define GPBPUDSLP_OFFSET        0x30
218
222
#define GPCCON_OFFSET           0x40
219
223
#define GPCDAT_OFFSET           0x44
376
380
 */
377
381
#define ELFIN_MEM_SYS_CFG       0x7e00f120
378
382
 
379
 
#define S3C64XX_MEM_SYS_CFG_16BIT       (1 << 12)
380
 
 
381
 
#define S3C64XX_MEM_SYS_CFG_NAND        0x0008
382
 
#define S3C64XX_MEM_SYS_CFG_ONENAND     S3C64XX_MEM_SYS_CFG_16BIT
383
 
 
384
383
#define GPACON          (ELFIN_GPIO_BASE + GPACON_OFFSET)
385
384
#define GPADAT          (ELFIN_GPIO_BASE + GPADAT_OFFSET)
386
385
#define GPAPUD          (ELFIN_GPIO_BASE + GPAPUD_OFFSET)