[U-Boot] [PATCH 1/3] arm: rmobile: alt: Fix typo of SCIF id

Nobuhiro Iwamatsu nobuhiro.iwamatsu.yj at renesas.com
Fri Oct 31 08:30:25 CET 2014


Alt board use SCIF2, not SCIF0.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj at renesas.com>
---
 board/renesas/alt/alt.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c
index b668bf6..5c5a86f 100644
--- a/board/renesas/alt/alt.c
+++ b/board/renesas/alt/alt.c
@@ -43,7 +43,7 @@ void s_init(void)
 
 #define MSTPSR7		0xE61501C4
 #define SMSTPCR7	0xE615014C
-#define SCIF0_MSTP719	(1 << 19)
+#define SCIF2_MSTP719	(1 << 19)
 
 #define MSTPSR8		0xE61509A0
 #define SMSTPCR8	0xE6150990
@@ -63,8 +63,8 @@ int board_early_init_f(void)
 	/* TMU */
 	mstp_clrbits_le32(MSTPSR1, SMSTPCR1, TMU0_MSTP125);
 
-	/* SCIF0 */
-	mstp_clrbits_le32(MSTPSR7, SMSTPCR7, SCIF0_MSTP719);
+	/* SCIF2 */
+	mstp_clrbits_le32(MSTPSR7, SMSTPCR7, SCIF2_MSTP719);
 
 	/* ETHER */
 	mstp_clrbits_le32(MSTPSR8, SMSTPCR8, ETHER_MSTP813);
-- 
2.1.1



More information about the U-Boot mailing list