platform: remove PLATFORM_SCHED_CLOCK

Removes PLATFORM_SCHED_CLOCK definition as it's the same
as PLATFORM_DEFAULT_CLOCK.

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2019-10-16 13:07:42 +02:00 committed by Janusz Jankowski
parent a12d58d170
commit 19db14e55f
9 changed files with 1 additions and 25 deletions

View File

@ -56,9 +56,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 8
#define PLATFORM_MAX_STREAMS 16
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -61,9 +61,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 4
#define PLATFORM_MAX_STREAMS 5
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -64,9 +64,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 8
#define PLATFORM_MAX_STREAMS 16
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -57,9 +57,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 4
#define PLATFORM_MAX_STREAMS 5
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -64,9 +64,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 8
#define PLATFORM_MAX_STREAMS 16
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -46,9 +46,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 4
#define PLATFORM_MAX_STREAMS 5
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds - TODO: caclulate based on topology */
#define PLATFORM_DMA_TIMEOUT 1333

View File

@ -60,9 +60,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 4
#define PLATFORM_MAX_STREAMS 5
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -64,9 +64,6 @@ struct timer;
#define PLATFORM_MAX_CHANNELS 8
#define PLATFORM_MAX_STREAMS 16
/* clock source used by scheduler for deadline calculations */
#define PLATFORM_SCHED_CLOCK PLATFORM_DEFAULT_CLOCK
/* DMA channel drain timeout in microseconds
* TODO: calculate based on topology
*/

View File

@ -267,7 +267,7 @@ int scheduler_init_edf(struct sof *sof)
edf_sch = rzalloc(RZONE_SYS, SOF_MEM_CAPS_RAM, sizeof(*edf_sch));
list_init(&edf_sch->list);
edf_sch->clock = PLATFORM_SCHED_CLOCK;
edf_sch->clock = PLATFORM_DEFAULT_CLOCK;
scheduler_init(SOF_SCHEDULE_EDF, &schedule_edf_ops, edf_sch);