lib/hardware: introduce can_cpufreq to control the cpu frequency

Origin commit data
------------------
Branch: ni/coolstream
Commit: 258aae865f
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-08-30 (Sun, 30 Aug 2020)

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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-08-30 22:49:37 +02:00
parent cad564fbd9
commit deae82f80e
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 */