From e71189168553ddf59f25132027d662458db8f3c5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 13 Oct 2014 07:41:16 +0200 Subject: 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 Acked-by: Ian Campbell --- include/configs/sun7i.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/sun7i.h') diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h index a902b84574..966cbd8e83 100644 --- a/include/configs/sun7i.h +++ b/include/configs/sun7i.h @@ -16,6 +16,7 @@ #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 -- cgit