[U-Boot] [PATCH 02/31] iMX28: Add basic support for DENX M28EVK board

Igor Grinberg grinberg at compulab.co.il
Fri Sep 9 09:13:14 CEST 2011


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.vasut at gmail.com>
> Cc: Stefano Babic<sbabic at denx.de>
> Cc: Wolfgang Denk<wd at denx.de>
> Cc: Detlev Zundel<dzu at 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.


More information about the U-Boot mailing list