Skip to contentSkip to conversation

ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

PATCH Superseded Jens Scharsig 3 participants 8 messages Oct 31, 2011 – Nov 5, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

* re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

---
 include/configs/eb_cpux9k2.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/configs/eb_cpux9k2.h +2 -0
index 4324172..ad51906 100644
@@ -41,6 +41,8 @@
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_EARLY_INIT_F
 
+#define MACH_TYPE_EB_CPUX9K2           1977
+
 /*--------------------------------------------------------------------------*/
 #define CONFIG_SYS_TEXT_BASE 		0x00000000
 #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */
Signature · 1 line
1.7.3.4
#1 lore raw

PATCH v2 1/1 ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

Hi Jens,

Quoted 13 lines · Jens Scharsig

* re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

---
 include/configs/eb_cpux9k2.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/configs/eb_cpux9k2.h +0 -0
index 4324172..ad51906 100644

include/configs/eb_cpux9k2.h line 45

Quoted 5 lines
include/configs/eb_cpux9k2.h +2 -0
@@ -41,6 +41,8 @@
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_EARLY_INIT_F
 
+#define MACH_TYPE_EB_CPUX9K2           1977
+

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

Quoted 3 lines
include/configs/eb_cpux9k2.h +0 -0
 /*--------------------------------------------------------------------------*/
 #define CONFIG_SYS_TEXT_BASE 		0x00000000
 #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */
Signature · 2 lines
Regards,
Igor.
#2 lore raw

PATCH v2 1/1 ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

Am 2011-10-31 08:46, schrieb Igor Grinberg:

Quoted 5 lines

Hi Jens,

Quoted 4 lines
include/configs/eb_cpux9k2.h +0 -0
@@ -41,6 +41,8 @@
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_EARLY_INIT_F
 
Quoted 11 lines

include/configs/eb_cpux9k2.h line 45

Quoted 2 lines
include/configs/eb_cpux9k2.h +2 -0
+#define MACH_TYPE_EB_CPUX9K2           1977
+

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

Quoted 3 lines
include/configs/eb_cpux9k2.h +0 -0
 /*--------------------------------------------------------------------------*/
 #define CONFIG_SYS_TEXT_BASE 		0x00000000
 #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */

Dear Albert ARIBAUD,

What's your opinion?

#define MACH_TYPE_EB_CPUX9K2 1977

or

#define CONFIG_MACH_TYPE 1977

Regards Jens

#3 lore raw

PATCH v2 1/1 ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

Hi Jens,

Quoted 20 lines · Jens Scharsig

Am 2011-10-31 08:46, schrieb Igor Grinberg:

Quoted 5 lines

Hi Jens,

Quoted 4 lines
include/configs/eb_cpux9k2.h +0 -0
@@ -41,6 +41,8 @@
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_EARLY_INIT_F
 
Quoted 11 lines

include/configs/eb_cpux9k2.h line 45

Quoted 2 lines
include/configs/eb_cpux9k2.h +2 -0
+#define MACH_TYPE_EB_CPUX9K2           1977
+

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

Quoted 3 lines
include/configs/eb_cpux9k2.h +0 -0
 /*--------------------------------------------------------------------------*/
 #define CONFIG_SYS_TEXT_BASE 		0x00000000
 #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */

Dear Albert ARIBAUD,

Quoted 7 lines

What's your opinion?

#define MACH_TYPE_EB_CPUX9K2 1977

or

#define CONFIG_MACH_TYPE 1977

It should be both:

#define MACH_TYPE_EB_CPUX9K2 1977

and then:

#define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2

Signature · 2 lines
Regards,
Igor.
#4 lore raw

PATCH v2 1/1 ARM: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

Le 31/10/2011 09:48, Igor Grinberg a ?crit :

Quoted 31 lines

Hi Jens,

Quoted 20 lines · Jens Scharsig

Am 2011-10-31 08:46, schrieb Igor Grinberg:

Quoted 5 lines

Hi Jens,

Quoted 4 lines
include/configs/eb_cpux9k2.h +0 -0
@@ -41,6 +41,8 @@
  #define CONFIG_MISC_INIT_R
  #define CONFIG_BOARD_EARLY_INIT_F
 
Quoted 11 lines

include/configs/eb_cpux9k2.h line 45

Quoted 2 lines
include/configs/eb_cpux9k2.h +2 -0
+#define MACH_TYPE_EB_CPUX9K2           1977
+

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

Quoted 3 lines
include/configs/eb_cpux9k2.h +0 -0
  /*--------------------------------------------------------------------------*/
  #define CONFIG_SYS_TEXT_BASE 		0x00000000
  #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */

Dear Albert ARIBAUD,

Quoted 7 lines

What's your opinion?

#define MACH_TYPE_EB_CPUX9K2 1977

or

#define CONFIG_MACH_TYPE 1977

Quoted 7 lines

It should be both:

#define MACH_TYPE_EB_CPUX9K2 1977

and then:

#define CONFIG_MACH_TYPE MACH_TYPE_EB_CPUX9K2

Correct.

Amicalement,

Signature · 1 line
Albert.
#5 lore raw

PATCH v3 1/1 Arm: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

In reply to Jens Scharsig

* re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

---
 include/configs/eb_cpux9k2.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
include/configs/eb_cpux9k2.h +2 -0
index 4324172..b08de4a 100644
@@ -41,6 +41,8 @@
 #define CONFIG_MISC_INIT_R
 #define CONFIG_BOARD_EARLY_INIT_F
 
+#define MACH_TYPE_EB_CPUX9K2		1977
+#define CONFIG_MACH_TYPE		MACH_TYPE_EB_CPUX9K2
 /*--------------------------------------------------------------------------*/
 #define CONFIG_SYS_TEXT_BASE 		0x00000000
 #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */
Signature · 1 line
1.7.3.4
#7 lore raw

PATCH v3 1/1 Arm: re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

In reply to Jens Scharsig

Hi Jens,

Le 31/10/2011 19:52, Jens Scharsig a ?crit :

Quoted 12 lines

* re-introduce the MACH_TYPE_XXXXXX for EB_CPUX9K2 board

---
  include/configs/eb_cpux9k2.h |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)
include/configs/eb_cpux9k2.h +0 -0
index 4324172..b08de4a 100644

include/configs/eb_cpux9k2.h line 48

Quoted 8 lines
include/configs/eb_cpux9k2.h +2 -0
@@ -41,6 +41,8 @@
  #define CONFIG_MISC_INIT_R
  #define CONFIG_BOARD_EARLY_INIT_F
 
+#define MACH_TYPE_EB_CPUX9K2		1977
+#define CONFIG_MACH_TYPE		MACH_TYPE_EB_CPUX9K2
  /*--------------------------------------------------------------------------*/
  #define CONFIG_SYS_TEXT_BASE 		0x00000000
  #define CONFIG_SYS_LOAD_ADDR		0x21000000  /* default load address */

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.