build/patch/u-boot/u-boot-sunxi/allwinner-sun8i-set-machid.patch

12 lines
278 B
Diff

diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index b6cd8d39a8..608a055892 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -10,4 +10,6 @@
#include <configs/sunxi-common.h>
+#define CONFIG_MACH_TYPE (0x1029)
+
#endif /* __CONFIG_H */