- lib/hardware: introduce can_cpufreq to control the cpu frequency

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-08-30 22:49:37 +02:00
committed by Thilo Graf
parent 206bf533a7
commit 6491c66a66
2 changed files with 2 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ hw_caps_t *get_hwcaps(void) {
caps.has_SCART = (rev != 10);
caps.has_SCART_input = 0;
caps.has_YUV_cinch = 1;
caps.can_cpufreq = (rev < 9);
caps.can_shutdown = (rev > 7);
caps.can_cec = 1;
caps.display_type = HW_DISPLAY_LINE_TEXT;

View File

@@ -26,6 +26,7 @@ typedef struct hw_caps
int has_SCART;
int has_SCART_input;
int has_YUV_cinch;
int can_cpufreq;
int can_shutdown;
int can_cec;
int can_ar_14_9; /* video drivers have 14:9 aspect ratio mode */