[U-Boot] [PATCH 1/2] arm: Remove unofficial mach-type number uses

Vladimir Zapolskiy vz at mleia.com
Tue Jan 24 23:28:47 CET 2017


Hi Tom,

On 01/24/2017 11:31 PM, Tom Rini wrote:
> We have a number of instances of platforms that define a MACH_TYPE_xxx
> value and number.  We are currently synced with the latest vales from
> the Linux Kernel and in turn if numbers are not used there it is because
> they were never officially used anywhere.  We drop all our instances of
> these numbers.

[snip]

> diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h
> index a71f67c352bb..f9066e7521a1 100644
> --- a/include/configs/devkit3250.h
> +++ b/include/configs/devkit3250.h
> @@ -13,12 +13,6 @@
>  #include <linux/sizes.h>
>  #include <asm/arch/cpu.h>
>  
> -/*
> - * Define DevKit3250 machine type by hand until it lands in mach-types
> - */
> -#define MACH_TYPE_DEVKIT3250		3697
> -#define CONFIG_MACH_TYPE		MACH_TYPE_DEVKIT3250
> -

in fact this is a registered ARM machine type for the board, please
reference the list on http://www.arm.linux.org.uk/developer/machines/

This may impact some other boards from your list, but as for DevKit3250
board the MACH_TYPE is not in use, so please feel free to remove it.

For devkit3250:

Acked-by: Vladimir Zapolskiy <vz at mleia.com>

>  #define CONFIG_SYS_ICACHE_OFF
>  #define CONFIG_SYS_DCACHE_OFF
>  #if !defined(CONFIG_SPL_BUILD)

--
With best wishes,
Vladimir


More information about the U-Boot mailing list