[U-Boot] [PATCH 1/3] gplugd: use CONFIG_MACH_TYPE instead of MACH_TYPE_SHEEVAD
Stefano Babic
sbabic at denx.de
Sat Mar 3 11:15:17 CET 2012
On 01/03/2012 22:13, Troy Kisky wrote:
> 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;
You do not need it to add this line. This is already done in common code
when CONFIG_MACH_TYPE is set.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list