]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jun 2014 10:49:40 +0000 (11:49 +0100)
commit70a695735e0a7d14448f2f5a9986bfe105210a91
tree64049a0f4d0b2e4b237502ff40d6c7055c54f4b2
parent2abc6923956a3ebf8c0a00122ce605b8ec10ceb7
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