Hi,

On Wed, 2008-06-25 at 18:10 +0530, ext Gadiyar, Anand wrote:

> My main bone of contention was the statement that there was no reason for
> not building something as a module. There is a case for building drivers
> into the kernel. Whether it is the best choice is something that depends
> on what one is trying to achieve.

As Felipe wrote, it is easy to reconfigure a module to be build in than
it is to get a build in and have it to be compilable and usable as
module. Developing a module gives you for free the builtin case.
The other way is not always true.

Your case of "let's veryfy all the modules at once by converting them to
built-ins" is more the exception than the rule.

> > And on top of that, having modules allows to makes it simpler to address
> > in one go different boards and subarchitectures.
> 
> I'm afraid I don't understand. How would having a driver as a module or
> built-in make a difference when targetting different boards?

I can do just one build and use the same binary to do the deployment to
different boards.

That's the direction the kernel is currently going to, with code that
probes for OMAP version and uses the appropriate register addresses.

The bootloader can pass the board type as option.

-- 

Cheers, Igor

---

Igor Stoppa
Maemo Software - Nokia Devices R&D - Helsinki
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to