[U-Boot] [PATCH] ARM: rmobile: Fix LBSC programming offset on M2 Porter

Marek Vasut marek.vasut at gmail.com
Thu Apr 12 19:55:13 UTC 2018


The offset of CSWCRx starts at 0x30, fix this.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
---
 board/renesas/porter/porter_spl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/renesas/porter/porter_spl.c b/board/renesas/porter/porter_spl.c
index f711aa9c35..4b4dd4d4aa 100644
--- a/board/renesas/porter/porter_spl.c
+++ b/board/renesas/porter/porter_spl.c
@@ -169,8 +169,8 @@ static void tpl_init_lbsc(void)
 	static const struct reg_config lbsc_config[] = {
 		{ 0x00, 0x00000020 },
 		{ 0x08, 0x00002020 },
-		{ 0x10, 0x2a103320 },
-		{ 0x18, 0xff70ff70 },
+		{ 0x30, 0x2a103320 },
+		{ 0x38, 0xff70ff70 },
 	};
 
 	static const u16 lbsc_offs[] = {
-- 
2.16.2



More information about the U-Boot mailing list