summaryrefslogtreecommitdiff
path: root/board/renesas/koelsch
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2019-03-30 09:05:09 +0300
committerMarek Vasut <marex@denx.de>2019-03-30 09:31:02 +0300
commit4bbd464268f4c70d9704d41d10b5d324b6dc4549 (patch)
tree1ceb013dc205c352fc1c1abe5c2bc998a6ffd10c /board/renesas/koelsch
parent573b0f244c16f3f80441932f25fb64e77a7a6c31 (diff)
downloadu-boot-4bbd464268f4c70d9704d41d10b5d324b6dc4549.tar.xz
ARM: rmobile: Fix PHY LED mode register mask
The PHY LED mode register mask should be 0xc000 , not 0xc0000. Correct the mask to operate on the right bits. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'board/renesas/koelsch')
-rw-r--r--board/renesas/koelsch/koelsch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/renesas/koelsch/koelsch.c b/board/renesas/koelsch/koelsch.c
index 52f37c970e..d07a7ca2ab 100644
--- a/board/renesas/koelsch/koelsch.c
+++ b/board/renesas/koelsch/koelsch.c
@@ -100,7 +100,7 @@ int dram_init_banksize(void)
/* Koelsch has KSZ8041NL/RNL */
#define PHY_CONTROL1 0x1E
-#define PHY_LED_MODE 0xC0000
+#define PHY_LED_MODE 0xC000
#define PHY_LED_MODE_ACK 0x4000
int board_phy_config(struct phy_device *phydev)
{