arm-trusted-firmware/plat/marvell/a8k/common/ble
Lionel Debieve 0711ee5cbc delay: timeout detection support
Introduce timeout_init_us/timeout_elapsed() delay tracking with CNTPCT.

timeout_init_us(some_timeout_us); returns a reference to detect
timeout for the provided microsecond delay value from current time.

timeout_elapsed(reference) return true/false whether the reference
timeout is elapsed.

Cherry picked from OP-TEE implementation [1].
  [1] commit 33d30a74502b ("core: timeout detection support")

Minor:
- Remove stm32mp platform duplicated implementation.
- Add new include in marvell ble.mk

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
Change-Id: Iaef6d43c11a2e6992fb48efdc674a0552755ad9c
2019-10-03 18:57:25 +00:00
..
ble.ld.S marvell: Move BLE from external repo to the platform folder 2018-10-03 15:31:19 +03:00
ble.mk delay: timeout detection support 2019-10-03 18:57:25 +00:00
ble_main.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
ble_mem.S marvell: Move BLE from external repo to the platform folder 2018-10-03 15:31:19 +03:00