sel4: add timer for imx7d_sabre

Fix #3292
This commit is contained in:
Stefan Kalkowski
2019-04-16 13:21:31 +02:00
committed by Christian Helmuth
parent 95b9e0a0e2
commit 4bcd9169c0
6 changed files with 194 additions and 2 deletions

View File

@@ -1,8 +1,9 @@
proc binary_name_ld_lib_so { } { return "ld-sel4.lib.so" }
proc binary_name_core_o { } { return "core-sel4.o" }
proc binary_name_timer { } {
if {[have_spec imx6]} { return "imx6_timer_drv" }
if {[have_spec x86]} { return "pit_timer_drv" }
if {[have_spec imx6]} { return "imx6_timer_drv" }
if {[have_spec imx7d_sabre]} { return "imx7_timer_drv" }
if {[have_spec x86]} { return "pit_timer_drv" }
puts "unknown platform - no timer driver"
exit -1
}