summaryrefslogtreecommitdiff
path: root/board/renesas/alt
diff options
context:
space:
mode:
Diffstat (limited to 'board/renesas/alt')
-rw-r--r--board/renesas/alt/Kconfig9
-rw-r--r--board/renesas/alt/alt.c5
2 files changed, 2 insertions, 12 deletions
diff --git a/board/renesas/alt/Kconfig b/board/renesas/alt/Kconfig
index 39d53c185b..957962de20 100644
--- a/board/renesas/alt/Kconfig
+++ b/board/renesas/alt/Kconfig
@@ -9,13 +9,4 @@ config SYS_VENDOR
config SYS_CONFIG_NAME
default "alt"
-config R8A7794_ETHERNET_B
- bool "Use ethernet B function"
- depends on TARGET_ALT
- default n
- help
- ALT board can use default ethernet and etnernet B function.
- This config set pin function of ethenet B. You also needt to change
- DIP switch of board in order to use this function.
-
endif
diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c
index b18ab7ce88..0726776a57 100644
--- a/board/renesas/alt/alt.c
+++ b/board/renesas/alt/alt.c
@@ -28,7 +28,6 @@
DECLARE_GLOBAL_DATA_PTR;
-#define CLK2MHZ(clk) (clk / 1000 / 1000)
void s_init(void)
{
struct rcar_rwdt *rwdt = (struct rcar_rwdt *)RWDT_BASE;
@@ -93,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)
{
@@ -108,7 +107,7 @@ int board_phy_config(struct phy_device *phydev)
void reset_cpu(ulong addr)
{
struct udevice *dev;
- const u8 pmic_bus = 1;
+ const u8 pmic_bus = 7;
const u8 pmic_addr = 0x58;
u8 data;
int ret;