Patchwork [U-Boot,1/2] ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE

login
register
mail settings
Submitter David Müller (ELSOFT AG)
Date Oct. 31, 2011, 11:22 a.m.
Message ID <1320060127-12300-1-git-send-email-d.mueller@elsoft.ch>
Download mbox | patch
Permalink /patch/122787/
State Accepted
Commit c686537f34268ffd6d87e3b8b14d1118b221a995
Delegated to: Albert ARIBAUD
Headers show

Comments

David Müller (ELSOFT AG) - Oct. 31, 2011, 11:22 a.m.
Signed-off-by: David Mueller <d.mueller@elsoft.ch>
---
 include/configs/VCMA9.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Albert ARIBAUD - Nov. 8, 2011, 8:20 a.m.
Hi David,

Le 31/10/2011 12:22, David Müller a écrit :
> Signed-off-by: David Mueller<d.mueller@elsoft.ch>
> ---
>   include/configs/VCMA9.h |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h
> index 8b8113d..a370c15 100644
> --- a/include/configs/VCMA9.h
> +++ b/include/configs/VCMA9.h
> @@ -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

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


Amicalement,

Patch

diff --git a/include/configs/VCMA9.h b/include/configs/VCMA9.h
index 8b8113d..a370c15 100644
--- a/include/configs/VCMA9.h
+++ b/include/configs/VCMA9.h
@@ -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