barebox-state: fall back to /state if there is no alias defined
state_get() already supports this if no state name is given. This just removes the default state name to make use of this feature. Without this, an alias named 'state' is needed for barebox-state work without specifying the state node. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> |
---|
|
src/barebox-state.c |
---|