Skip to contentSkip to conversation

more docprobe.c

DISCUSSION Brendan J Simon 2 participants 2 messages May 2, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
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