]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: define CONFIG_MACH_TYPE for all ronetix boards
authorAsen Dimov <dimov@ronetix.at>
Mon, 31 Oct 2011 08:54:20 +0000 (08:54 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Tue, 8 Nov 2011 19:34:53 +0000 (20:34 +0100)
Signed-off-by: Asen Chavdarov Dimov <dimov@ronetix.at>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
board/ronetix/pm9261/pm9261.c
board/ronetix/pm9263/pm9263.c
board/ronetix/pm9g45/pm9g45.c
include/configs/pm9261.h
include/configs/pm9263.h
include/configs/pm9g45.h

index 871b94ada756431b0d106198ed07f0fef10ebfc0..b26e33a65f4f351d986ac2d910f6172ada90c9e9 100644 (file)
@@ -248,9 +248,6 @@ int board_init(void)
                1 << ATMEL_ID_PIOC,
                &pmc->pcer);
 
-       /* arch number of PM9261-Board */
-       gd->bd->bi_arch_number = MACH_TYPE_PM9261;
-
        /* adress of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
index cfc9847ccc6867b4e4b5dba98aa3cec6949e0a38..b0f7ea6ddba4692925d714b29ff74bc18b834fad 100644 (file)
@@ -349,9 +349,6 @@ int board_init(void)
                (1 << ATMEL_ID_PIOB),
                &pmc->pcer);
 
-       /* arch number of AT91SAM9263EK-Board */
-       gd->bd->bi_arch_number = MACH_TYPE_PM9263;
-
        /* adress of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
index f3374a44298af5fb8180c895cd36221dad1d6157..961d193fd230dc1802ca84843bbe35dae60922f9 100644 (file)
@@ -139,8 +139,6 @@ int board_init(void)
                (1 << ATMEL_ID_PIOC) |
                (1 << ATMEL_ID_PIODE), &pmc->pcer);
 
-       /* arch number of AT91SAM9M10G45EK-Board */
-       gd->bd->bi_arch_number = MACH_TYPE_PM9G45;
        /* adress of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM + 0x100;
 
index 89e17b83f09b5addba016db4dea4862d74d0a34b..55455e7a255b3b1d0d574cad5e6970988926bd7b 100644 (file)
@@ -52,6 +52,9 @@
 #undef CONFIG_USE_IRQ                  /* we don't need IRQ/FIQ stuff  */
 #define CONFIG_SYS_TEXT_BASE   0
 
+#define MACH_TYPE_PM9261       1187
+#define CONFIG_MACH_TYPE       MACH_TYPE_PM9261
+
 /* clocks */
 /* CKGR_MOR - enable main osc. */
 #define CONFIG_SYS_MOR_VAL                                             \
index 1f7543c1336a0b9b1be1f6bde3a3c72c16490438..43104a3e282f9652725b872c691c129e7f0dc400 100644 (file)
@@ -52,6 +52,9 @@
 #undef CONFIG_USE_IRQ                  /* we don't need IRQ/FIQ stuff  */
 #define CONFIG_SYS_TEXT_BASE   0
 
+#define MACH_TYPE_PM9263       1475
+#define CONFIG_MACH_TYPE       MACH_TYPE_PM9263
+
 /* clocks */
 #define CONFIG_SYS_MOR_VAL                                             \
                (AT91_PMC_MOR_MOSCEN |                                  \
index acc120445184bca895fae680609cabebf85c7c95..d3beaf300ecd880efcdfec7159123b3abee6c341 100644 (file)
@@ -41,6 +41,9 @@
 #define CONFIG_PM9G45          1       /* It's an Ronetix PM9G45 */
 #define CONFIG_SYS_AT91_CPU_NAME       "AT91SAM9G45"
 
+#define MACH_TYPE_PM9G45       2672
+#define CONFIG_MACH_TYPE       MACH_TYPE_PM9G45
+
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_MAIN_CLOCK     12000000 /* from 12 MHz crystal */
 #define CONFIG_SYS_AT91_SLOW_CLOCK     32768           /* slow clock xtal */