diff options
author | Seunghyeon Rhee <seunghyeon@lpmtec.com> | 2009-12-03 09:41:49 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2009-12-04 08:48:41 +0900 |
commit | 824df58fc0e05596d91f8150029cafdf1adfc94e (patch) | |
tree | d6d79bf8071845bc229715f6979339b9438620e4 | |
parent | 33bf447477ff38eda46529b346677856b53e0f87 (diff) | |
download | u-boot-imx-824df58fc0e05596d91f8150029cafdf1adfc94e.zip u-boot-imx-824df58fc0e05596d91f8150029cafdf1adfc94e.tar.gz u-boot-imx-824df58fc0e05596d91f8150029cafdf1adfc94e.tar.bz2 |
samsung: fix DMC1_MEM_CFG for s3c64xx
The MSB of DMC1_MEM_CFG can be set to '1' for separate CKE control
for S3C6400. In the configuration of SMDK6400, however, two 16-bit
mDDR (SAMSUNG K4X51163) chips are used in parallel to form 32-bit
memory bus and there is no need to control CKE for each chip
separately. AFAIK, CKE1 is not at all connected. Only CKE0 is
used. Futhermore, it should be '0' always for S3C6410. When tested
with a board which has a S3C6410 and the same memory configuration,
a side effect is observed that u-boot command "reset" doesn't work
leading to system hang. Leaving the bit clear is safe in most cases.
Signed-off-by: Seunghyeon Rhee <seunghyeon@lpmtec.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r-- | include/asm-arm/arch-s3c64xx/s3c6400.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/arch-s3c64xx/s3c6400.h b/include/asm-arm/arch-s3c64xx/s3c6400.h index e527c08..10b3324 100644 --- a/include/asm-arm/arch-s3c64xx/s3c6400.h +++ b/include/asm-arm/arch-s3c64xx/s3c6400.h @@ -817,9 +817,9 @@ /*----------------------------------------------------------------------- * Physical Memory Map */ -#define DMC1_MEM_CFG 0x80010012 /* Chip1, Burst4, Row/Column bit */ +#define DMC1_MEM_CFG 0x00010012 /* burst 4, 13-bit row, 10-bit col */ #define DMC1_MEM_CFG2 0xB45 -#define DMC1_CHIP0_CFG 0x150F8 /* 0x4000_0000 ~ 0x43ff_ffff (64MB) */ +#define DMC1_CHIP0_CFG 0x150F8 /* 0x5000_0000~0x57ff_ffff (128 MiB) */ #define DMC_DDR_32_CFG 0x0 /* 32bit, DDR */ /* Memory Parameters */ |