summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@chromium.org>2014-01-27 19:35:03 -0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-01-29 11:07:31 +0000
commit435be9873179338d0c4e7b2d823989181a089771 (patch)
tree543684777aa560b9204d462d64770c6e209c4083
parenta53a0b040f45a1086515e7a5c8a8326c0b1d1f74 (diff)
downloadvboot-stabilize-5412.B.tar.gz
tegra124: Add the tegra124 compatibility string to crossystem.test-5394.Bstabilize-5414.Bstabilize-5412.B
Teach crossystem the tegra124 compatibility string so that it can identify the platform for tegra124 based systems. I called the platform Tegra5 to fit in with what seems to be the naming scheme for the other Tegra SOCs. BUG=chrome-os-partner:25355 TEST=Built and ran on nyan and saw the "platform_family" setting return Tegra5 instead of (error). BRANCH=None Change-Id: I1044f958ecdac37ad285fdc3d53e7bc36ca69315 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/184051 Reviewed-by: Hung-Te Lin <hungte@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org>
-rw-r--r--host/arch/arm/lib/crossystem_arch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/arch/arm/lib/crossystem_arch.c b/host/arch/arm/lib/crossystem_arch.c
index b5422dec..513539dd 100644
--- a/host/arch/arm/lib/crossystem_arch.c
+++ b/host/arch/arm/lib/crossystem_arch.c
@@ -54,6 +54,7 @@ typedef struct PlatformFamily {
/* Array of platform family names, terminated with a NULL entry */
const PlatformFamily platform_family_array[] = {
+ {"nvidia,tegra124", "Tegra5"},
{"nvidia,tegra250", "Tegra2"},
{"nvidia,tegra20", "Tegra2"},
{"ti,omap4", "OMAP4"},