On Friday, September 23, 2011 02:50:52 PM Fabio Estevam wrote: > Let common code set the machine ID. >
This will need rework ... stefano, can we get the efikasb stuff mainline so Fabio can rework this ? Cheers > Cc: Marek Vasut <[email protected]> > Signed-off-by: Fabio Estevam <[email protected]> > --- > board/efikamx/efikamx.c | 1 - > include/configs/efikamx.h | 2 ++ > 2 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/board/efikamx/efikamx.c b/board/efikamx/efikamx.c > index 5be1f6c..be2a9a1 100644 > --- a/board/efikamx/efikamx.c > +++ b/board/efikamx/efikamx.c > @@ -607,7 +607,6 @@ int board_early_init_f(void) > > int board_init(void) > { > - gd->bd->bi_arch_number = MACH_TYPE_MX51_EFIKAMX; > gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > > return 0; > diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h > index fdd0a14..0b5d2dc 100644 > --- a/include/configs/efikamx.h > +++ b/include/configs/efikamx.h > @@ -40,6 +40,8 @@ > > #define CONFIG_SYS_TEXT_BASE 0x97800000 > > +#define CONFIG_MACH_TYPE MACH_TYPE_MX51_EFIKAMX > + > /* > * Bootloader Components Configuration > */ _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

