From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Tue, 23 Oct 2012 09:20:39 +0200 Subject: [U-Boot] [PATCH v4 5/5] New board support: Nokia RX-51 aka N900 In-Reply-To: <1350648008-25514-6-git-send-email-pali.rohar@gmail.com> References: <1327415291-13260-1-git-send-email-pali.rohar@gmail.com> <1350648008-25514-1-git-send-email-pali.rohar@gmail.com> <1350648008-25514-6-git-send-email-pali.rohar@gmail.com> Message-ID: <50864547.8080202@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 Hi Pali Roh?r, On 10/19/12 14:00, Pali Roh?r wrote: > This patch adding support for new board Nokia RX-51 (N900). > > Based on previous work by: Alistair Buxton > > Signed-off-by: Pali Roh?r > Cc: ?????? ???????? > --- [...] > diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c > new file mode 100644 > index 0000000..60446cb > --- /dev/null > +++ b/board/nokia/rx51/rx51.c [...] > +/* > + * Routine: board_init > + * Description: Early hardware init. > + */ > +int board_init(void) > +{ > + gpmc_init(); /* in SRAM or SDRAM, finish GPMC */ > + /* board id for Linux */ > + gd->bd->bi_arch_number = MACH_TYPE_NOKIA_RX51; This should be specified in the board config file (see CONFIG_MACH_TYPE in README), unless, you have multiple board types supported in the same board file/binary (which does not look like the case here) and it is runtime detectable. > + /* boot param addr */ > + gd->bd->bi_boot_params = OMAP34XX_SDRC_CS0 + 0x100; > + > + return 0; > +} [...] -- Regards, Igor.