]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-tegra/sys_proto.h
tegra: Add a board ID function
[karo-tx-uboot.git] / arch / arm / include / asm / arch-tegra / sys_proto.h
index 8b3fbe12faaddf7e020e40125579a89f4aaae375..914d8b956d844ccf0017576ca18b161d07e9ee65 100644 (file)
@@ -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