diff options
author | Heiko Stuebner <heiko@sntech.de> | 2019-08-04 00:21:50 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-08-11 11:31:00 +0200 |
commit | 4c33ba24fec2697d3672ab439635b32b19cd8da0 (patch) | |
tree | 574add5a19f9eba7725dddd966eec6e6163c3384 | |
parent | a542748420ddbd6420515b5148da5bb860c2bfe2 (diff) |
hacks
-rw-r--r-- | arch/arm/dts/px30-evb.dts | 2 | ||||
-rw-r--r-- | board/rockchip/evb_px30/evb_px30.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/dts/px30-evb.dts b/arch/arm/dts/px30-evb.dts index 049335d3e8..9fa531bd96 100644 --- a/arch/arm/dts/px30-evb.dts +++ b/arch/arm/dts/px30-evb.dts @@ -105,7 +105,7 @@ }; &gmac { - clock_in_out = "output"; + clock_in_out = "input"; phy-supply = <&vcc_phy>; snps,reset-gpio = <&gpio2 13 GPIO_ACTIVE_LOW>; snps,reset-active-low; diff --git a/board/rockchip/evb_px30/evb_px30.c b/board/rockchip/evb_px30/evb_px30.c index afc48b91f7..d58e4c8213 100644 --- a/board/rockchip/evb_px30/evb_px30.c +++ b/board/rockchip/evb_px30/evb_px30.c @@ -7,8 +7,19 @@ #include <common.h> #include <dm.h> #include <asm/io.h> +#include <power/regulator.h> int board_init(void) { + int ret; + + /* + * We need to call into regulators_enable_boot_on() again, as the call + * during SPL may have not included all regulators. + */ + ret = regulators_enable_boot_on(false); + if (ret) + debug("%s: Cannot enable boot on regulator\n", __func__); + return 0; } |