[U-Boot] [PATCH] sunxi: fix build error on non-ARM64 boards

Icenowy Zheng icenowy at aosc.io
Sat Oct 27 05:08:56 UTC 2018


The previous commit which disables Pine64 detection logic on non-Pine64
board has an error and prevents non-ARM64 boards from building.

Fix the build error on non-ARM64 boards by adjusting the position of a
'}'.

Fixes: 6b92e01dca4b ("sunxi: disable Pine A64 model detection code on other boards")
Signed-off-by: Icenowy Zheng <icenowy at aosc.io>
---
 board/sunxi/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index 65ae0c4219..b196d48674 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -877,5 +877,5 @@ int board_fit_config_name_match(const char *name)
 	}
 #endif
 	return strcmp(name, cmp_str);
-#endif
 }
+#endif
-- 
2.18.1



More information about the U-Boot mailing list