barebox-state: Check of_property_count_strings return value
When a enum32 state variable node does not have a "names" property bail out gracefully instead of crashing. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
src/barebox-state.c |
---|