state: Add function to read state MAC
This ports the following barebox commit:

| commit 09f15cd
| Author: Daniel Schultz <d.schultz@phytec.de>
| Date:   Fri Nov 3 11:48:28 2017 +0100
|
|     common: state: Add function to read state MAC
|
|     This API function allows to receive a copy of a MAC address from
|     variables in a state.
|
|     Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
|     Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
1 parent 4412204 commit 7bc669877217f54bf0f390205f481f18d33222f8
@Ulrich Ölmann Ulrich Ölmann authored on 18 Dec 2018
Roland Hieber committed on 7 Jan 2019
Showing 2 changed files
View
src/barebox-state/state.c
View
src/state.h