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>
This commit is contained in:
parent
573b0f244c
commit
4bbd464268
@ -92,7 +92,7 @@ int dram_init_banksize(void)
|
||||
|
||||
/* KSZ8041RNLI */
|
||||
#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)
|
||||
{
|
||||
|
@ -98,7 +98,7 @@ int dram_init_banksize(void)
|
||||
|
||||
/* KSZ8041RNLI */
|
||||
#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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -109,7 +109,7 @@ int dram_init_banksize(void)
|
||||
|
||||
/* 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)
|
||||
{
|
||||
|
@ -98,7 +98,7 @@ int dram_init_banksize(void)
|
||||
|
||||
/* porter has KSZ8041RNLI */
|
||||
#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)
|
||||
{
|
||||
|
@ -93,7 +93,7 @@ int dram_init_banksize(void)
|
||||
|
||||
/* porter has KSZ8041RNLI */
|
||||
#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)
|
||||
{
|
||||
|
@ -112,7 +112,7 @@ int dram_init_banksize(void)
|
||||
|
||||
/* Stout 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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user