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 <chandan.n...@ti.com>
> ---
>  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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to