aboutsummaryrefslogtreecommitdiff
path: root/board/apollon
diff options
context:
space:
mode:
authorKyungmin Park <kmpark@infradead.org>2008-01-17 16:43:25 +0900
committerWolfgang Denk <wd@denx.de>2008-02-14 22:08:13 +0100
commit751b9b5189f3274b03c809172631316d6b002c82 (patch)
tree026f1808f4919d37b2d3855615041fb9d4bbcbc6 /board/apollon
parent21f6f9636f0e978397548751347425fbf8d42bb3 (diff)
OneNAND Initial Program Loader (IPL) support
This patch enables the OneNAND boot within U-Boot. Before this work, we used another OneNAND IPL called X-Loader based on open source. With this work, we can build the oneboot.bin image without other program. The build sequence is simple. First, it compiles the u-boot.bin Second, it compiles OneNAND IPL Finally, it becomes the oneboot.bin from OneNAND IPL and u-boot.bin The mechanism is similar with NAND boot except it boots from itself. Another thing is that you can only use the OneNAND IPL only to work other bootloader such as RedBoot and so on. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/apollon')
-rw-r--r--board/apollon/apollon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/apollon/apollon.c b/board/apollon/apollon.c
index 064d143ae..383b0643f 100644
--- a/board/apollon/apollon.c
+++ b/board/apollon/apollon.c
@@ -440,7 +440,8 @@ void muxSetupTouchScreen(void)
void muxSetupGPMC(void)
{
/* gpmc_io_dir, MCR */
- writel(0x4800008C, 0x19000000);
+ volatile unsigned int *MCR = (unsigned int *) 0x4800008C;
+ *MCR = 0x19000000;
/* NOR FLASH CS0 */
/* signal - Gpmc_clk; pin - J4; offset - 0x0088; mode 0; Byte-3 */