Dear Michal Simek,
[...]
> +int board_init(void)
> +{
> + icache_enable();
Uh oh ... isn't this on by default when CONFIG_ICACHE_OFF isn't present?
> + return 0;
> +}
> +
> +int board_late_init(void)
> +{
> + return 0;
You don't need this.
> +}
> +
> +#ifdef CONFIG_CMD_NET
> +int board_eth_init(bd_t *bis)
> +{
> + int ret = 0;
> +
> +#if defined(CONFIG_ZYNQ_GEM) && defined(CONFIG_ZYNQ_GEM_BASEADDR0)
> + ret |= zynq_gem_initialize(bis, CONFIG_ZYNQ_GEM_BASEADDR0);
ret |= ? ;-)
> +#endif
> +
> + return ret;
> +}
> +#endif
> +
> +int dram_init(void)
> +{
> + gd->ram_size = CONFIG_SYS_SDRAM_SIZE;
> + return 0;
> +}
> +
> +void reset_cpu(ulong addr)
> +{
> + while (1)
> + ;
> +}
This is definitelly CPU specific.
[...]
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot