Sanjeev Premi wrote:
> This patch fixes the compile error while trying to
> compile for omap3evm.
>
<snip>
> env_onenand.c: In function 'env_relocate_spec':
> env_addr = CONFIG_ENV_ADDR;
> +#ifdef CONFIG_ENV_ADDR_FLEX
> if (FLEXONENAND(this))
> env_addr = CONFIG_ENV_ADDR_FLEX;
> -
> +#endif
Please also add this #ifdef around the declaration of
struct onenand_chip *this = &onenand_chip;
There are 'unused variable' warnings now
Otherwise fine.
Tom
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot