Skip to contentSkip to conversation

Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

PATCH New Valentin Longchamp 2 participants 3 messages Oct 31, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

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.

---
 include/configs/km/km_arm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/km/km_arm.h +3 -0
index c117943..eaf6017 100644
@@ -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)
  */
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

Hi Valentin,

Quoted 14 lines · Valentin Longchamp

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.

---
 include/configs/km/km_arm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/km/km_arm.h +0 -0
index c117943..eaf6017 100644

include/configs/km/km_arm.h line 40

Quoted 5 lines
include/configs/km/km_arm.h +2 -0
@@ -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.

Quoted 4 lines
include/configs/km/km_arm.h +1 -0
+
 /*
  * High Level Configuration Options (easy to change)
  */
Signature · 2 lines
Regards,
Igor.
#2 lore raw

PATCH 1/1 Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards

Hi Igor,

Quoted 20 lines · Igor Grinberg

Hi Valentin,

Quoted 17 lines · Valentin Longchamp

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.

---
 include/configs/km/km_arm.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
include/configs/km/km_arm.h +0 -0
index c117943..eaf6017 100644
@@ -36,6 +36,9 @@
 #ifndef _CONFIG_KM_ARM_H
 #define _CONFIG_KM_ARM_H
 
Quoted 7 lines

include/configs/km/km_arm.h line 40

Quoted 2 lines
include/configs/km/km_arm.h +2 -0
+/* 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

Signature · 13 lines
Valentin Longchamp
Embedded Software Engineer
Hardware and Chip Integration
______________________________________
KEYMILE AG
Schwarzenburgstr. 73
CH-3097 Liebefeld
Phone +41 31 377 1318
Fax   +41 31 377 1212
valentin.longchamp at keymile.com
www.keymile.com
______________________________________
KEYMILE: A Specialist as a Partner