From: Kyungmin Park Date: Tue, 1 Sep 2009 04:57:12 +0000 (+0900) Subject: s5pc110: OneNAND Syncronous Read support X-Git-Tag: 20091016~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa84fd639c562fab6e03ce0cbfcd65a6c5cd89fb;p=kernel%2Fu-boot.git s5pc110: OneNAND Syncronous Read support Signed-off-by: Kyungmin Park --- diff --git a/board/samsung/universal/lowlevel_init.S b/board/samsung/universal/lowlevel_init.S index 69c6e4b..cf4a294 100644 --- a/board/samsung/universal/lowlevel_init.S +++ b/board/samsung/universal/lowlevel_init.S @@ -141,6 +141,21 @@ lowlevel_init: bl mem_ctrl_asm_init + /* OneNAND Sync Read Support at S5PC110 only + * RM[15] : Sync Read + * BRWL[14:12] : 7 CLK + * BL[11:9] : Continuous + * VHF[3] : Very High Frequency Enable (Over 83MHz) + * HF[2] : High Frequency Enable (Over 66MHz) + */ + ldrne r1, =0xF00C + + ldrne r2, =0xB001E442 + strneh r1, [r2] + + ldrne r0, =0xB0600000 + strne r1, [r0, #0x100] @ ONENAND_IF_CTRL + /* Wakeup support. Don't know if it's going to be used, untested. */ ldreq r0, =S5PC100_RST_STAT ldrne r0, =S5PC110_RST_STAT