From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 12 Oct 2011 09:53:33 +0200 Subject: [U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM In-Reply-To: <1318341073-1996-6-git-send-email-chandan.nath@ti.com> References: <1318341073-1996-1-git-send-email-chandan.nath@ti.com> <1318341073-1996-6-git-send-email-chandan.nath@ti.com> Message-ID: <4E95477D.8040408@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 Chandan, On 10/11/11 15:51, Chandan Nath wrote: > This patch adds basic support for booting the board. > This patch adds support for the UART necessary to > get to the u-boot prompt. > > Signed-off-by: Chandan Nath > --- > Support for additional peripherals depends on this patchset. > Will be posting them soon. Please, don't forget to specify the dependencies when you post the depending patch sets. [...] > diff --git a/board/ti/am335x/evm.c b/board/ti/am335x/evm.c > new file mode 100644 > index 0000000..25a3755 > --- /dev/null > +++ b/board/ti/am335x/evm.c > @@ -0,0 +1,50 @@ [...] > +/* > + * Basic board specific setup > + */ > +int init_basic_setup(void) > +{ > + /* Initialize the Timer */ > + init_timer(); > + > + gd->bd->bi_arch_number = MACH_TYPE_TIAM335EVM; Please, use the new standard for setting the mach_id. Check the CONFIG_MACH_TYPE option in the README file. > + > + /* address of boot parameters */ > + gd->bd->bi_boot_params = PHYS_DRAM_1 + 0x100; > + > + return 0; > +} > + > +int board_init(void) > +{ > + enable_uart0_pin_mux(); > + init_basic_setup(); > + > + return 0; > +} [...] -- Regards, Igor.