blspec: make cdev optional
the cdev for a given directory can be determined by get_cdev_by_mountpath().
Use this function and remove the cdev argument from blspec_scan_directory().
Also, export the function to make code possible which boots the bootloader
spec entries found in directories.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b7a6655 commit 21af7e0005ab6e4be353ade885f0864e48414bc5
@Sascha Hauer Sascha Hauer authored on 1 Nov 2013
Showing 2 changed files
View
common/blspec.c
View
include/blspec.h