summaryrefslogtreecommitdiff
path: root/board/samsung
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2008-11-26 10:18:13 +0900
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-04-05 00:30:38 +0200
commitab0689c316c9b2ee33f4de1c50263b64e539f12a (patch)
tree71675883db715e38cc4c54a34f9bad2cc4aed566 /board/samsung
parent767f3acd9f6e1dcb8ada926c333945382eddc7e8 (diff)
downloadu-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 'board/samsung')
-rw-r--r--board/samsung/smdk6400/lowlevel_init.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/samsung/smdk6400/lowlevel_init.S b/board/samsung/smdk6400/lowlevel_init.S
index e0119a7..47f72f6 100644
--- a/board/samsung/smdk6400/lowlevel_init.S
+++ b/board/samsung/smdk6400/lowlevel_init.S
@@ -104,6 +104,13 @@ lowlevel_init:
bl nand_asm_init
#endif
+ /* Memory subsystem address 0x7e00f120 */
+ ldr r0, =ELFIN_MEM_SYS_CFG
+
+ /* Xm0CSn2 = NFCON CS0, Xm0CSn3 = NFCON CS1 */
+ mov r1, #S3C64XX_MEM_SYS_CFG_NAND
+ str r1, [r0]
+
bl mem_ctrl_asm_init
/* Wakeup support. Don't know if it's going to be used, untested. */