]> code.ossystems Code Review - openembedded-core.git/commit
udev: update init script for conditional probing of platform bus
authorDenys Dmytriyenko <denys@ti.com>
Thu, 19 Jun 2014 22:53:22 +0000 (18:53 -0400)
committerSaul Wold <sgw@linux.intel.com>
Fri, 25 Jul 2014 16:50:18 +0000 (09:50 -0700)
commit6886a99758d25991ecd6ee995d18f97996b31177
treeedda9fddbd7444af2a004128db10b91dce29c61f
parente48b93a495205f812d71967548943ab80df79092
udev: update init script for conditional probing of platform bus

Make probing of "platform" bus conditional based on PROBE_PLATFORM_BUS
variable from /etc/default/udev-cache on subsequent boots when udev
cache is used. PROBE_PLATFORM_BUS has to be set to "yes" in order to
force probing on every boot, otherwise it uses the old default behaviour
of probing it just the first time.

This is helpful on modern SoCs where most of the low level peripheral
drivers are registered on the platform bus and need to be probed to load
the necessary modules and enable the connected buses and subsystems.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev/init