[U-Boot] [PATCH] CPU9260 : fix machine ID when using a CPU9G20.

Eric Benard eric at eukrea.com
Mon Oct 12 10:08:20 CEST 2009


Signed-off-by: Eric Benard <eric at eukrea.com>
---
 board/eukrea/cpu9260/cpu9260.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/eukrea/cpu9260/cpu9260.c b/board/eukrea/cpu9260/cpu9260.c
index 0b4f0d4..af8a4a2 100644
--- a/board/eukrea/cpu9260/cpu9260.c
+++ b/board/eukrea/cpu9260/cpu9260.c
@@ -165,7 +165,7 @@ int board_init(void)
 
 	/* arch number of the board */
 #if defined(CONFIG_CPU9G20)
-	gd->bd->bi_arch_number = MACH_TYPE_CPUAT9260;
+	gd->bd->bi_arch_number = MACH_TYPE_CPUAT9G20;
 #elif defined(CONFIG_CPU9260)
 	gd->bd->bi_arch_number = MACH_TYPE_CPUAT9260;
 #endif
-- 
1.6.0.4



More information about the U-Boot mailing list