On 09/08/2011 11:42 PM, Marek Vasut wrote: > This contains support for booting the board and output via DUART. > > Signed-off-by: Marek Vasut<marek.va...@gmail.com> > Cc: Stefano Babic<sba...@denx.de> > Cc: Wolfgang Denk<w...@denx.de> > Cc: Detlev Zundel<d...@denx.de> > ---
[...] > diff --git a/board/denx/m28evk/m28evk.c b/board/denx/m28evk/m28evk.c > new file mode 100644 > index 0000000..5f4f787 > --- /dev/null > +++ b/board/denx/m28evk/m28evk.c [...] > + > +int board_init(void) > +{ > + /* Will change it for MX28 EVK later */ > + gd->bd->bi_arch_number = CONFIG_M28_MACHID; This should be done in the board config file. Please, see the CONFIG_MACH_TYPE in the U-Boot documentation (README file). > + /* Adress of boot parameters */ > + gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; > + > + return 0; > +} [...] -- Regards, Igor. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot