summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-04-14 21:03:25 -0600
committerTom Warren <twarren@nvidia.com>2015-05-13 09:24:07 -0700
commitec7466443432966db95ed2324732ee810bfa8229 (patch)
tree05f077b76f72fbc1ad0e0f898248659b1c2f842f /arch/arm/include
parent7d874132c45ef21ea56350e941362b6a45f16747 (diff)
downloadtalos-obmc-uboot-ec7466443432966db95ed2324732ee810bfa8229.tar.gz
talos-obmc-uboot-ec7466443432966db95ed2324732ee810bfa8229.zip
tegra: Add a board ID function
Add a way of displaying a numeric board ID on start-up. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-tegra/sys_proto.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/include/asm/arch-tegra/sys_proto.h b/arch/arm/include/asm/arch-tegra/sys_proto.h
index 8b3fbe12fa..914d8b956d 100644
--- a/arch/arm/include/asm/arch-tegra/sys_proto.h
+++ b/arch/arm/include/asm/arch-tegra/sys_proto.h
@@ -8,12 +8,13 @@
#ifndef _SYS_PROTO_H_
#define _SYS_PROTO_H_
-struct tegra_sysinfo {
- char *board_string;
-};
-
void invalidate_dcache(void);
-extern const struct tegra_sysinfo sysinfo;
+/**
+ * tegra_board_id() - Get the board iD
+ *
+ * @return a board ID, or -ve on error
+ */
+int tegra_board_id(void);
#endif
OpenPOWER on IntegriCloud