Patchwork [U-Boot] Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

login
register
mail settings
Submitter Valentin Longchamp
Date Oct. 31, 2011, 8:06 a.m.
Message ID <1320048407-24701-1-git-send-email-valentin.longchamp@keymile.com>
Download mbox | patch
Permalink /patch/122757/
State Superseded
Headers show

Comments

Valentin Longchamp - Oct. 31, 2011, 8:06 a.m.
We got dropped from Linux mach-types.h because of a lack of mainline
support and this is needed since the last Linux/u-boot mach-types
synchro.

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
---
 include/configs/km/km_arm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Igor Grinberg - Oct. 31, 2011, 8:20 a.m.
Hi Valentin,

On 10/31/11 10:06, Valentin Longchamp wrote:
> We got dropped from Linux mach-types.h because of a lack of mainline
> support and this is needed since the last Linux/u-boot mach-types
> synchro.
> 
> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
> ---
>  include/configs/km/km_arm.h |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
> index c117943..eaf6017 100644
> --- a/include/configs/km/km_arm.h
> +++ b/include/configs/km/km_arm.h
> @@ -36,6 +36,9 @@
>  #ifndef _CONFIG_KM_ARM_H
>  #define _CONFIG_KM_ARM_H
>  
> +/* We got removed from Linux mach-types.h */
> +#define MACH_TYPE_KM_KIRKWOOD          2255

While you are at it, probably, it is a good time
to switch to the new standard and use the CONFIG_MACH_TYPE
option. Please, read the README file.

> +
>  /*
>   * High Level Configuration Options (easy to change)
>   */
Valentin Longchamp - Oct. 31, 2011, 9:35 a.m.
Hi Igor,

On 10/31/2011 09:20 AM, Igor Grinberg wrote:
> Hi Valentin,
> 
> On 10/31/11 10:06, Valentin Longchamp wrote:
>> We got dropped from Linux mach-types.h because of a lack of mainline
>> support and this is needed since the last Linux/u-boot mach-types
>> synchro.
>>
>> Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
>> ---
>>  include/configs/km/km_arm.h |    3 +++
>>  1 files changed, 3 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
>> index c117943..eaf6017 100644
>> --- a/include/configs/km/km_arm.h
>> +++ b/include/configs/km/km_arm.h
>> @@ -36,6 +36,9 @@
>>  #ifndef _CONFIG_KM_ARM_H
>>  #define _CONFIG_KM_ARM_H
>>  
>> +/* We got removed from Linux mach-types.h */
>> +#define MACH_TYPE_KM_KIRKWOOD          2255
> 
> While you are at it, probably, it is a good time
> to switch to the new standard and use the CONFIG_MACH_TYPE
> option. Please, read the README file.
> 

Good Hint, I will send a further patch for this.

Thanks

Patch

diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index c117943..eaf6017 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -36,6 +36,9 @@ 
 #ifndef _CONFIG_KM_ARM_H
 #define _CONFIG_KM_ARM_H
 
+/* We got removed from Linux mach-types.h */
+#define MACH_TYPE_KM_KIRKWOOD          2255
+
 /*
  * High Level Configuration Options (easy to change)
  */