diff options
author | Aaron Durbin <adurbin@chromium.org> | 2014-08-04 11:40:45 -0500 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-25 22:31:38 +0100 |
commit | bf534180997889bb5feef45178eaf24ef834241a (patch) | |
tree | 6c754221f82178e20da11d6140ae1b295079158c /src/soc/nvidia/tegra/apbmisc.h | |
parent | 8c6d34c1f87f7f48f351e9496ec45985208f5076 (diff) | |
download | coreboot-bf534180997889bb5feef45178eaf24ef834241a.tar.xz |
tegra132: output chip information and MTS version
It's helpful to be able to track this information. Therefore
dump it in to the console log.
BRANCH=None
BUG=chrome-os-partner:31126
TEST=Built and ran on rush. Revision information is put out on the
console.
Change-Id: I22e7d222259c1179b90edda6d7807559357f6725
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 18d318331b696a6a32e0a45b8f903eb740896b02
Original-Change-Id: Ic95382126a6b8929d0998d1c9adfcbd10e90663f
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/210903
Original-Reviewed-by: Tom Warren <twarren@nvidia.com>
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/8905
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
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__ */ |