
17 Dec
2009
17 Dec
'09
5:59 p.m.
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