ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE
PATCH 1/2 ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE
Signed-off-by David Mueller <[email protected]>
--- include/configs/VCMA9.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
include/configs/VCMA9.h +4 -0
@@ -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
PATCH 2/2 ARM: remove superfluous setting of arch_number in board specific code.
Signed-off-by David Mueller <[email protected]>
--- board/mpl/vcma9/vcma9.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
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 ;
Signature · 1 line
1.7.4.4
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
Signed-off-by David Mueller<[email protected]>--- board/mpl/vcma9/vcma9.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)board/mpl/vcma9/vcma9.c +0
-0
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.
PATCH 1/2 ARM: re-add MACH_TYPE_XXXXXX for VCMA9 board and add CONFIG_MACH_TYPE
In reply to David MüllerHi David,
Le 31/10/2011 12:22, David M?ller a ?crit :
Quoted 20 lines
Signed-off-by David Mueller<[email protected]>--- include/configs/VCMA9.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)include/configs/VCMA9.h +3
-0@@ -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.