of_path: of_find_path(): add possibility to return .bb device
This patch adds a flags argument to the of_find_path() function. The only flag
defined for now is OF_FIND_PATH_FLAGS_BB. When used on NAND devices, the
function returns the bad block aware device (the ".bb" device).

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0238fb4 commit 885a1cf27e6ae7a39113dd6c707d400c1585b35c
@Marc Kleine-Budde Marc Kleine-Budde authored on 22 Apr 2015
Sascha Hauer committed on 23 Apr 2015
Showing 4 changed files
View
drivers/misc/state.c
View
drivers/of/barebox.c
View
drivers/of/of_path.c
View
include/of.h