Private
Public Access
2
0

boards: add rock960 support

Signed-off-by: Hongxin Liu <761896148@qq.com>
This commit is contained in:
netlhx
2018-06-30 09:44:46 -04:00
committed by Manivannan Sadhasivam
parent b90c0efcb8
commit 4b2279704b
3 changed files with 21 additions and 0 deletions

View File

@@ -94,6 +94,8 @@ mraa_arm_platform()
platform_type = MRAA_96BOARDS;
else if (mraa_file_contains("/proc/device-tree/model", "HiKey960"))
platform_type = MRAA_96BOARDS;
else if (mraa_file_contains("/proc/device-tree/model", "ROCK960"))
platform_type = MRAA_96BOARDS;
else if (mraa_file_contains("/proc/device-tree/model", "s900"))
platform_type = MRAA_96BOARDS;
else if (mraa_file_contains("/proc/device-tree/compatible", "raspberrypi,"))