diff options
author | Kyungmin Park <kmpark@infradead.org> | 2008-11-26 10:18:13 +0900 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-04-05 00:30:38 +0200 |
commit | ab0689c316c9b2ee33f4de1c50263b64e539f12a (patch) | |
tree | 71675883db715e38cc4c54a34f9bad2cc4aed566 /include/s3c6400.h | |
parent | 767f3acd9f6e1dcb8ada926c333945382eddc7e8 (diff) | |
download | u-boot-imx-ab0689c316c9b2ee33f4de1c50263b64e539f12a.zip u-boot-imx-ab0689c316c9b2ee33f4de1c50263b64e539f12a.tar.gz u-boot-imx-ab0689c316c9b2ee33f4de1c50263b64e539f12a.tar.bz2 |
Move machine specific code to board at s3c64xx (v2)
Move machine specific code to smdk6400.
Some board use OneNAND instead of NAND.
Some register MP0_CS_CFG[5:0] are controled by both h/w and s/w.
So it's better to use macro instead of hard-coded value.
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'include/s3c6400.h')
-rw-r--r-- | include/s3c6400.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/s3c6400.h b/include/s3c6400.h index fd3e99b..d3f136d 100644 --- a/include/s3c6400.h +++ b/include/s3c6400.h @@ -380,6 +380,11 @@ */ #define ELFIN_MEM_SYS_CFG 0x7e00f120 +#define S3C64XX_MEM_SYS_CFG_16BIT (1 << 12) + +#define S3C64XX_MEM_SYS_CFG_NAND 0x0008 +#define S3C64XX_MEM_SYS_CFG_ONENAND S3C64XX_MEM_SYS_CFG_16BIT + #define GPACON (ELFIN_GPIO_BASE + GPACON_OFFSET) #define GPADAT (ELFIN_GPIO_BASE + GPADAT_OFFSET) #define GPAPUD (ELFIN_GPIO_BASE + GPAPUD_OFFSET) |