more docprobe.c
I also added the following:
#if (CONFIG_MTD_DOCPROBE_ADDRESS != 0)
CONFIG_MTD_DOCPROBE_ADDRESS,
#elif defined(__alpha__) || defined(__i386__) || defined(__x86_64__)
...
#elif defined(__ppc__) || defined(__PPC__)
...
#elif defined(CONFIG_MOMENCO_OCELOT)
...
I think that the platform specific config option should be checked before (or within) the generic arch blocks.
#if (CONFIG_MTD_DOCPROBE_ADDRESS != 0)
CONFIG_MTD_DOCPROBE_ADDRESS,
#elif defined(CONFIG_MOMENCO_OCELOT)
...
#elif defined(__alpha__) || defined(__i386__) || defined(__x86_64__)
...
#elif defined(__ppc__) || defined(__PPC__)
...
Regards,
Brendan Simon.
Quoted 2 lines · [email protected] said:
I think that the platform specific config option should be checked before (or within) the generic arch blocks.
Needs to be done before CONFIG_MIPS, not any of the others unless they suddenly start making Ocelots with other CPUS.
--
dwmw2