diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-03 15:04:21 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-06-24 21:39:07 +0200 |
commit | 0686fe0edf2ec37b109c9b787985858b4b6a6bb7 (patch) | |
tree | 9c2365123b155f3fbfd4f06af9dcbccb7a224f25 /include/common.h | |
parent | a34a6f836facbecc9f13edcb6794bb6ee0cae02c (diff) | |
download | barebox-0686fe0edf2ec37b109c9b787985858b4b6a6bb7.tar.gz barebox-0686fe0edf2ec37b109c9b787985858b4b6a6bb7.tar.xz |
add function to get boardinfo string
When using devicetrees the boardinfo (or model) can be obtained
from the devicetree. Add a function to get the boardinfo so that
we have a chance to add information from the devicetree.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/common.h')
-rw-r--r-- | include/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h index 59fcd35ac1..88af931118 100644 --- a/include/common.h +++ b/include/common.h @@ -233,6 +233,8 @@ void barebox_banner(void); static inline void barebox_banner(void) {} #endif +const char *barebox_boardinfo(void); + #define IOMEM(addr) ((void __force __iomem *)(addr)) #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) |