x86.c: Add MinnowBoard Turbot initialization
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Constantin Musca <constantin.musca@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
3483db363f
commit
7e302242db
@@ -72,9 +72,12 @@ mraa_x86_platform()
|
|||||||
platform_type = MRAA_INTEL_GALILEO_GEN1;
|
platform_type = MRAA_INTEL_GALILEO_GEN1;
|
||||||
plat = mraa_intel_galileo_rev_d();
|
plat = mraa_intel_galileo_rev_d();
|
||||||
} else if (strncasecmp(line, "MinnowBoard Compatible", 22) == 0) {
|
} else if (strncasecmp(line, "MinnowBoard Compatible", 22) == 0) {
|
||||||
platform_type = MRAA_INTEL_MINNOWBOARD_MAX;
|
platform_type = MRAA_INTEL_MINNOWBOARD_MAX;
|
||||||
plat = mraa_intel_minnowboard_byt_compatible();
|
plat = mraa_intel_minnowboard_byt_compatible();
|
||||||
} else {
|
} else if (strncasecmp(line, "MinnowBoard Turbot", 18) == 0) {
|
||||||
|
platform_type = MRAA_INTEL_MINNOWBOARD_MAX;
|
||||||
|
plat = mraa_intel_minnowboard_byt_compatible();
|
||||||
|
} else {
|
||||||
syslog(LOG_ERR, "Platform not supported, not initialising");
|
syslog(LOG_ERR, "Platform not supported, not initialising");
|
||||||
platform_type = MRAA_UNKNOWN_PLATFORM;
|
platform_type = MRAA_UNKNOWN_PLATFORM;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user