state: harmonize code with barebox
This ports the following barebox commit:

| commit cdbeddf
| Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
| Date:   Wed Sep 11 21:27:38 2019 +0200
|
|     state: provide dummy implementations for some functions when STATE is
|     disabled
|
|     This allows to simplify some callers as can be seen from the
|     phytec-som-am335x/board.c change. (The check for state != NULL could be
|     dropped already before.)
|
|     Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
1 parent e267c87 commit 1aeb1e4fdff012e7382599df5ea59de9383228d5
@Ulrich Ölmann Ulrich Ölmann authored on 30 Sep 2019
Roland Hieber committed on 11 Oct 2019
Showing 2 changed files
View
configure.ac
View
src/state.h