[PATCH] boards/zii-vf610-dev: Do not keep 'SOC_SW_RSTN' low

Andrey Smirnov andrew.smirnov at gmail.com
Wed Nov 15 14:31:15 PST 2017


>From users feedback, it's not very practical keep 'SOC_SW_RSTN' low
and corresponding Ethernet switch it controls in reset. Change the
code to keep the line high by default.

Signed-off-by: Andrey Smirnov <andrew.smirnov at gmail.com>
---
 arch/arm/boards/zii-vf610-dev/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boards/zii-vf610-dev/board.c b/arch/arm/boards/zii-vf610-dev/board.c
index eea3828aa..6fd49df54 100644
--- a/arch/arm/boards/zii-vf610-dev/board.c
+++ b/arch/arm/boards/zii-vf610-dev/board.c
@@ -64,7 +64,7 @@ static int zii_vf610_cfu1_spu3_expose_signals(void)
 	static const struct gpio signals[] = {
 		{
 			.gpio  = 107,
-			.flags  = GPIOF_OUT_INIT_LOW,
+			.flags  = GPIOF_OUT_INIT_HIGH,
 			.label = "soc_sw_rstn",
 		},
 		{
-- 
2.13.6




More information about the barebox mailing list