[U-Boot] [PATCH 1/3] gplugd: use CONFIG_MACH_TYPE instead of MACH_TYPE_SHEEVAD

Troy Kisky troy.kisky at boundarydevices.com
Thu Mar 1 22:13:12 CET 2012


mach-type update will rename MACH_TYPE_SHEEVAD to
MACH_TYPE_GPLUGD

Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
---
 board/Marvell/gplugd/gplugd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/board/Marvell/gplugd/gplugd.c b/board/Marvell/gplugd/gplugd.c
index a697c19..8d9916a 100644
--- a/board/Marvell/gplugd/gplugd.c
+++ b/board/Marvell/gplugd/gplugd.c
@@ -92,7 +92,7 @@ int board_init(void)
 		(struct armd1apb2_registers *)ARMD1_APBC2_BASE;
 
 	/* arch number of Board */
-	gd->bd->bi_arch_number = MACH_TYPE_SHEEVAD;
+	gd->bd->bi_arch_number = CONFIG_MACH_TYPE;
 	/* adress of boot parameters */
 	gd->bd->bi_boot_params = armd1_sdram_base(0) + 0x100;
 	/* Assert PHY_RST# */
-- 
1.7.5.4



More information about the U-Boot mailing list