projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels
[platform/kernel/u-boot.git]
/
include
/
configs
/
sun7i.h
diff --git
a/include/configs/sun7i.h
b/include/configs/sun7i.h
index
ccec50c
..
f817f73
100644
(file)
--- a/
include/configs/sun7i.h
+++ b/
include/configs/sun7i.h
@@
-14,9
+14,6
@@
*/
#define CONFIG_CLK_FULL_SPEED 912000000
*/
#define CONFIG_CLK_FULL_SPEED 912000000
-#define CONFIG_SYS_PROMPT "sun7i# "
-#define CONFIG_MACH_TYPE 4283
-
#ifdef CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_SUNXI
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
#ifdef CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_SUNXI
#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
@@
-32,4
+29,6
@@
*/
#include <configs/sunxi-common.h>
*/
#include <configs/sunxi-common.h>
+#define CONFIG_MACH_TYPE (4283 | ((CONFIG_MACH_TYPE_COMPAT_REV) << 28))
+
#endif /* __CONFIG_H */
#endif /* __CONFIG_H */