From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Fri, 09 Sep 2011 10:13:14 +0300 Subject: [U-Boot] [PATCH 02/31] iMX28: Add basic support for DENX M28EVK board In-Reply-To: <1315514579-19215-3-git-send-email-marek.vasut@gmail.com> References: <1315514579-19215-1-git-send-email-marek.vasut@gmail.com> <1315514579-19215-3-git-send-email-marek.vasut@gmail.com> Message-ID: <4E69BC8A.501@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Stefano Babic > Cc: Wolfgang Denk > Cc: Detlev Zundel > --- [...] > 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.