Skip to content

Commit

Permalink
platform: posix: clk: add lowest freq index
Browse files Browse the repository at this point in the history
This patch adds CPU_LOWEST_FREQ_IDX definition to keep compliance with
changes in base_fw.

Signed-off-by: Tomasz Leman <[email protected]>
  • Loading branch information
tmleman committed Sep 22, 2023
1 parent 08c6b79 commit 8474cd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/posix/include/platform/lib/clk.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#define CLK_MAX_CPU_HZ CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC
#define CPU_LPRO_FREQ_IDX 1
#define CPU_LOWEST_FREQ_IDX CPU_LPRO_FREQ_IDX

/* This is not a platform function, it's defined in src/lib/clk.c.
* But the declaration has historically been in the platform layer, so
Expand Down

0 comments on commit 8474cd4

Please sign in to comment.