[U-Boot] [PATCH 1/2] arm: Remove unofficial mach-type number uses
Igor Grinberg
grinberg at compulab.co.il
Wed Jan 25 08:25:20 CET 2017
Hi Tom,
On 01/24/17 23:31, 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.
[...]
> include/configs/cm_t335.h | 3 ---
[...]
> diff --git a/include/configs/cm_t335.h b/include/configs/cm_t335.h
> index 8d5f26a139c3..e37d96707979 100644
> --- a/include/configs/cm_t335.h
> +++ b/include/configs/cm_t335.h
> @@ -24,9 +24,6 @@
> #undef CONFIG_MAX_RAM_BANK_SIZE
> #define CONFIG_MAX_RAM_BANK_SIZE (512 << 20) /* 512MB */
>
> -#define MACH_TYPE_CM_T335 4586 /* Until the next sync */
> -#define CONFIG_MACH_TYPE MACH_TYPE_CM_T335
> -
> /* Clock Defines */
> #define V_OSCK 25000000 /* Clock output from T2 */
> #define V_SCLK (V_OSCK)
Most of cm-t335 customers use non-DT Linux kernel 3.2 in production.
I'd really appreciate if we can keep the two above lines, so we or our customers
can just update/use the upstream U-Boot.
In fact, this is the only board that received Linux upstream DT-only support while
there were non-DT kernels released to customers.
--
Regards,
Igor.
More information about the U-Boot
mailing list