summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>2012-06-28 10:22:57 +0900
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>2012-06-28 16:06:32 +0900
commit97e305cfc19c26e762e0c9d00a164db81fe23dff (patch)
tree9f61cb295993c27588c7ac92062df595383f5f48
parent436da3cd233e7166b5ce9293dbd28092cf37bcc9 (diff)
downloadu-boot-imx-97e305cfc19c26e762e0c9d00a164db81fe23dff.zip
u-boot-imx-97e305cfc19c26e762e0c9d00a164db81fe23dff.tar.gz
u-boot-imx-97e305cfc19c26e762e0c9d00a164db81fe23dff.tar.bz2
sh: ap_sh4a_4a: Fix wrong register initialization value
The value of ET0_ERXD6 and GPSR1_INIT was wrong. This fixes them. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
-rw-r--r--board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c b/board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c
index 77cadea..ff37df1 100644
--- a/board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c
+++ b/board/alphaproject/ap_sh4a_4a/ap_sh4a_4a.c
@@ -90,7 +90,7 @@ int checkboard(void)
/* IPSR11 */
#define ET0_ERXD4 (0x4 << 4)
#define ET0_ERXD5 (0x4 << 7)
-#define ET0_ERXD6 (0x4 << 4)
+#define ET0_ERXD6 (0x3 << 10)
#define ET0_TX_EN (0x2 << 19)
#define ET0_TX_ER (0x2 << 21)
#define ET0_TX_CLK_A (0x4 << 23)
@@ -99,7 +99,7 @@ int checkboard(void)
(ET0_ERXD4 | ET0_ERXD5 | ET0_ERXD6 | ET0_TX_EN | ET0_TX_ER | \
ET0_TX_CLK_A | ET0_RX_CLK_A)
-#define GPSR1_INIT (0xFFBF7FFF)
+#define GPSR1_INIT (0xFFFF7FFF)
#define GPSR2_INIT (0x4005FEFF)
#define GPSR3_INIT (0x2EFFFFFF)
#define GPSR4_INIT (0xC7000000)