eal/arm: fix timer read from PMU
authorJianbo Liu <jianbo.liu@linaro.org>
Thu, 3 Dec 2015 15:02:54 +0000 (23:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 8 Dec 2015 02:00:42 +0000 (03:00 +0100)
commitafcd65c44440071b57268a539cb983c9e9893eea
tree3ed7571b2aeca16fddbbb2aa69d6a6b52209166b
parentbda68ab9d1e73bda4d500fa6977e3d713f483de8
eal/arm: fix timer read from PMU

CONFIG_* from config files can not be used in code.

Fixes: 12f45fa7e29b ("eal/arm: read timer from PMU if enabled")

Signed-off-by: Jianbo Liu <jianbo.liu@linaro.org>
Acked-by: Jan Viktorin <viktorin@rehivetech.com>
lib/librte_eal/common/include/arch/arm/rte_cycles_32.h