Mighty: Speedy: Add mighty & speedy compat string to pinky probe IDs
Simply add Mighty and Speedy as Jerry did, because they are very
similar to pinky.
BUG=chrome-os-partner:33269
TEST=emerge-veyron_mighty mosys
check the output of `mosys platform name`
BRANCH=none
Change-Id: I42d4beab2b7bf4d2b7c38ae699c1c7e2a70e4e99
Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/234610
Reviewed-by: David Hendricks <dhendrix@chromium.org>
diff --git a/platform/google/pinky/pinky.c b/platform/google/pinky/pinky.c
index 22073bd..c4d26bc 100644
--- a/platform/google/pinky/pinky.c
+++ b/platform/google/pinky/pinky.c
@@ -44,12 +44,16 @@
enum pinky_boards {
JERRY,
+ MIGHTY,
PINKY,
+ SPEEDY
};
const char *pinky_id_list[] = {
[JERRY] = "google,veyron-jerry",
+ [MIGHTY] = "google,veyron-mighty",
[PINKY] = "google,veyron-pinky",
+ [SPEEDY] = "google,veyron-speedy",
NULL,
};
@@ -76,6 +80,10 @@
if (index == JERRY)
intf->name = "Jerry";
+ if (index == MIGHTY)
+ intf->name = "Mighty";
+ if (index == SPEEDY)
+ intf->name = "Speedy";
}
return index >= 0 ? 1 : 0;