summaryrefslogtreecommitdiff
path: root/include/configs/sun4i.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-10-13 07:41:16 +0200
committerHans de Goede <hdegoede@redhat.com>2014-10-24 09:35:38 +0200
commite71189168553ddf59f25132027d662458db8f3c5 (patch)
tree95c1453f4b6ceedd713a15ef3aed1c9f1aa3f39b /include/configs/sun4i.h
parent722e00cef4e497f171dcbc5ef84d81d215670a24 (diff)
downloadu-boot-imx-e71189168553ddf59f25132027d662458db8f3c5.zip
u-boot-imx-e71189168553ddf59f25132027d662458db8f3c5.tar.gz
u-boot-imx-e71189168553ddf59f25132027d662458db8f3c5.tar.bz2
sunxi: Add CONFIG_MACH_TYPE defines to sun4i, sun5i and sun7i
Many people are still using old linux-sunxi-3.4 kernels on sunxi devices, adding the proper MACH_TYPE defines for this allows people to switch to upstream u-boot, so that we can stop maintaining the linux-sunxi u-boot fork. These machine-ids are all properly registered at: http://www.arm.linux.org.uk/developer/machines/ Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs/sun4i.h')
-rw-r--r--include/configs/sun4i.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
index 5611ecc..d0191a3 100644
--- a/include/configs/sun4i.h
+++ b/include/configs/sun4i.h
@@ -15,6 +15,7 @@
#define CONFIG_CLK_FULL_SPEED 1008000000
#define CONFIG_SYS_PROMPT "sun4i# "
+#define CONFIG_MACH_TYPE 4104
#ifdef CONFIG_USB_EHCI
#define CONFIG_USB_EHCI_SUNXI