diff options
Diffstat (limited to 'src/soc/nvidia/tegra/apbmisc.h')
-rw-r--r-- | src/soc/nvidia/tegra/apbmisc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/soc/nvidia/tegra/apbmisc.h b/src/soc/nvidia/tegra/apbmisc.h index 2f1811a1dd..38cd527c9f 100644 --- a/src/soc/nvidia/tegra/apbmisc.h +++ b/src/soc/nvidia/tegra/apbmisc.h @@ -34,8 +34,19 @@ struct apbmisc { #define PP_PINMUX_CLAMP_INPUTS (1 << 0) +enum { + MISC_GP_HIDREV = 0x804 +}; + +struct tegra_revision { + int hid_fam; + int chip_id; + int major; + int minor; +}; void enable_jtag(void); void clamp_tristate_inputs(void); +void tegra_revision_info(struct tegra_revision *id); #endif /* __SOC_NVIDIA_TEGRA_APBMISC_H__ */ |