lkml.org 
[lkml]   [2010]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 1/3] drivers: misc: add omap_hwspinlock driver
    Date
    Ohad Ben-Cohen <ohad@wizery.com> writes:

    > From: Simon Que <sque@ti.com>
    >
    > Add driver for OMAP's Hardware Spinlock module.
    >
    > The OMAP Hardware Spinlock module, initially introduced in OMAP4,
    > provides hardware assistance for synchronization between the
    > multiple processors in the device (Cortex-A9, Cortex-M3 and
    > C64x+ DSP).

    [...]

    > diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
    > index b743312..ce4b7a6 100644
    > --- a/drivers/misc/Kconfig
    > +++ b/drivers/misc/Kconfig
    > @@ -390,6 +390,16 @@ config BMP085
    > To compile this driver as a module, choose M here: the
    > module will be called bmp085.
    >
    > +config OMAP_HWSPINLOCK
    > + bool "OMAP Hardware Spinlock module"

    Should be tristate so it can also be built as a module by default.

    e.g., when building multi-OMAP kernels, no reason or this to be
    built-in. It can then be loaded as a module on OMAP4 only.

    Kevin


    \
     
     \ /
      Last update: 2010-10-19 19:19    [W:4.137 / U:0.080 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site