ARM: tegra: Use a function to get the chip ID
[sfrench/cifs-2.6.git] / include / soc / tegra / fuse.h
index 85f555c89ad55b475a1c3e8cb6d7bffe431d5cb6..0e03f104fbf842cb7dc263a741e9da75df7e07dd 100644 (file)
 #ifndef __SOC_TEGRA_FUSE_H__
 #define __SOC_TEGRA_FUSE_H__
 
+#define TEGRA20                0x20
+#define TEGRA30                0x30
+#define TEGRA114       0x35
+#define TEGRA124       0x40
+
+#ifndef __ASSEMBLY__
+
 u32 tegra_read_chipid(void);
+u8 tegra_get_chip_id(void);
+
+#endif /* __ASSEMBLY__ */
 
 #endif /* __SOC_TEGRA_FUSE_H__ */