Skip to contentSkip to conversation

ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE

PATCH New David Müller 2 participants 4 messages Oct 31, 2011 – Nov 8, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE

---
 include/configs/VCMA9.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/VCMA9.h +4 -0
index 8b8113d..a370c15 100644
@@ -29,6 +29,9 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+
+#define MACH_TYPE_MPL_VCMA9	227
+
 /*
  * High Level Configuration Options
  * (easy to change)
@@ -37,6 +40,7 @@
 #define CONFIG_S3C24X0		/* in a SAMSUNG S3C24x0-type SoC */
 #define CONFIG_S3C2410		/* specifically a SAMSUNG S3C2410 SoC */
 #define CONFIG_VCMA9		/* on a MPL VCMA9 Board  */
+#define CONFIG_MACH_TYPE	MACH_TYPE_MPL_VCMA9 /* Machine type */
 
 #define CONFIG_SYS_TEXT_BASE	0x0
 
Signature · 1 line
1.7.4.4
#1 lore raw

PATCH 2/2 ARM: remove superfluous setting of arch_number in board specific code.

---
 board/mpl/vcma9/vcma9.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
board/mpl/vcma9/vcma9.c +0 -3
index e63625b..9f259c2 100644
@@ -72,9 +72,6 @@ int board_early_init_f(void)
 
 int board_init(void)
 {
-	/* arch number of VCMA9-Board */
-	gd->bd->bi_arch_number = MACH_TYPE_MPL_VCMA9;
-
 	/* adress of boot parameters */
 	gd->bd->bi_boot_params = 0x30000100;
 
Signature · 1 line
1.7.4.4
#2 lore raw

PATCH 2/2 ARM: remove superfluous setting of arch_number in board specific code.

Hi David,

Le 31/10/2011 12:22, David M?ller a ?crit :

Quoted 10 lines
---
  board/mpl/vcma9/vcma9.c |    3 ---
  1 files changed, 0 insertions(+), 3 deletions(-)
board/mpl/vcma9/vcma9.c +0 -0
index e63625b..9f259c2 100644

board/mpl/vcma9/vcma9.c int board_early_init_f(void) · line 77

Quoted 9 lines
board/mpl/vcma9/vcma9.c +0 -3
@@ -72,9 +72,6 @@ int board_early_init_f(void)
 
  int board_init(void)
  {
-	/* arch number of VCMA9-Board */
-	gd->bd->bi_arch_number = MACH_TYPE_MPL_VCMA9;
-
  	/* adress of boot parameters */
  	gd->bd->bi_boot_params = 0x30000100;
 

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

Amicalement,

Signature · 1 line
Albert.
#3 lore raw

PATCH 1/2 ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE

In reply to David Müller

Hi David,

Le 31/10/2011 12:22, David M?ller a ?crit :

Quoted 20 lines
---
  include/configs/VCMA9.h |    4 ++++
  1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/VCMA9.h +3 -0
index 8b8113d..a370c15 100644
@@ -29,6 +29,9 @@
  #ifndef __CONFIG_H
  #define __CONFIG_H
 
+
+#define MACH_TYPE_MPL_VCMA9	227
+
  /*
   * High Level Configuration Options
   * (easy to change)

include/configs/VCMA9.h line 45

Quoted 6 lines
include/configs/VCMA9.h +1 -0
@@ -37,6 +40,7 @@
  #define CONFIG_S3C24X0		/* in a SAMSUNG S3C24x0-type SoC */
  #define CONFIG_S3C2410		/* specifically a SAMSUNG S3C2410 SoC */
  #define CONFIG_VCMA9		/* on a MPL VCMA9 Board  */
+#define CONFIG_MACH_TYPE	MACH_TYPE_MPL_VCMA9 /* Machine type */
 
  #define CONFIG_SYS_TEXT_BASE	0x0

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

Amicalement,

Signature · 1 line
Albert.