diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-02 08:09:03 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-07-02 09:17:39 +0200 |
commit | 84d28cec7f49b9dabf14892323a6ea421c470fea (patch) | |
tree | b71a1037cff51173245ae9d1e8b51b73534465c5 /arch/arm/boards/beagle/board.c | |
parent | 5c29d3627ed510e0bb86ffdce4bdef5837131ace (diff) | |
download | barebox-84d28cec7f49b9dabf14892323a6ea421c470fea.tar.gz barebox-84d28cec7f49b9dabf14892323a6ea421c470fea.tar.xz |
ARM: add a machine number mechanism for boarddata
Multi machine barebox builds have to pass information on which
board we are running on via boarddata. Usually this will be a
pointer to a device tree. Some boards might not have a device
tree available though because they are either not ported over
to device tree yet, or are running in some limited first state
environment which does not offer enough space for a device
tree. For these cases this patch adds a mechanism to embed a
machine number into a struct type along with a magic number.
This makes it possible to check for a specific machine
later during regular runtime.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/beagle/board.c')
0 files changed, 0 insertions, 0 deletions