Skip to content

Commit

Permalink
PM / devfreq: imx8m-ddrc: Remove unused defines
Browse files Browse the repository at this point in the history
The IMX_SIP_DDR_DVFS_WAIT_CHANGE and IMX_SIP_DDR_FREQ_SET_HIGH defines
are not used so they can be removed.

Fixes: 518e99e ("PM / devfreq: Add dynamic scaling for imx8m ddr controller")
Reported-by: Shawn Guo <[email protected]>
Signed-off-by: Leonard Crestez <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
  • Loading branch information
cdleonard authored and chanwoochoi committed Dec 30, 2019
1 parent a440892 commit 15e4e74
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/devfreq/imx8m-ddrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,6 @@

#define IMX_SIP_DDR_DVFS 0xc2000004

/* Values starting from 0 switch to specific frequency */
#define IMX_SIP_DDR_FREQ_SET_HIGH 0x00

/* Deprecated after moving IRQ handling to ATF */
#define IMX_SIP_DDR_DVFS_WAIT_CHANGE 0x0F

/* Query available frequencies. */
#define IMX_SIP_DDR_DVFS_GET_FREQ_COUNT 0x10
#define IMX_SIP_DDR_DVFS_GET_FREQ_INFO 0x11
Expand Down

0 comments on commit 15e4e74

Please sign in to comment.