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 12:51:48 +0000 (13:51 +0100)
commite0b640a45f9308212bdd0024dc6ec90ff7cc06ff
tree658f76fc8fb012a89ac9e299159e8457d58e39d0
parenteced7bbdfb597e257a0c708dbb1541e75d8eec9a
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.

(From OE-Core rev: 70a695735e0a7d14448f2f5a9986bfe105210a91)

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