Private
Public Access
2
0

96boards: add support to HiKey 96board

This patch adds support to HiKey board which complies with 96boards spec.
More info about board @https://www.96boards.org/products/ce/hikey/

Signed-off-by: Jorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Jorge Ramirez-Ortiz
2015-12-12 12:16:45 +00:00
committed by Brendan Le Foll
parent c0dfb71237
commit 36fabe3245
3 changed files with 18 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ mraa_arm_platform()
if (strstr(line, "Generic AM33XX")) {
platform_type = MRAA_BEAGLEBONE;
}
if (strstr(line, "HiKey Development Board")) {
platform_type = MRAA_96BOARDS;
}
if (strstr(line, "sun7i")) {
if (mraa_file_contains("/sys/firmware/devicetree/base/model", "Banana Pro")) {
platform_type = MRAA_BANANA;