Skip to contentSkip to conversation

sunxi: fix build error on non-ARM64 boards

PATCH New Icenowy Zheng 3 participants 3 messages Oct 27, 2018 – Oct 29, 2018 Arm/Allwinner sunXi SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sunxi: fix build error on non-ARM64 boards

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")
---
 board/sunxi/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
board/sunxi/board.c +1 -1
index 65ae0c4219..b196d48674 100644
@@ -877,5 +877,5 @@ int board_fit_config_name_match(const char *name)
 	}
 #endif
 	return strcmp(name, cmp_str);
-#endif
 }
+#endif
Signature · 1 line
2.18.1
#1 lore raw

PATCH 1/1 sunxi: fix build error on non-ARM64 boards

Quoted 8 lines · Icenowy Zheng

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")

Maxime

Signature · 10 lines
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181029/ce2f2b15/attachment.sig>
#2 lore raw

PATCH 1/1 sunxi: fix build error on non-ARM64 boards

In reply to Icenowy Zheng
Quoted 6 lines · Icenowy Zheng

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 '}'.

I would have run buildman, it my bad. anyway I squashed it, thanks!