mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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:
@@ -24,6 +24,7 @@ hw_caps_t *get_hwcaps(void) {
|
|||||||
caps.has_SCART = (rev != 10);
|
caps.has_SCART = (rev != 10);
|
||||||
caps.has_SCART_input = 0;
|
caps.has_SCART_input = 0;
|
||||||
caps.has_YUV_cinch = 1;
|
caps.has_YUV_cinch = 1;
|
||||||
|
caps.can_cpufreq = (rev < 9);
|
||||||
caps.can_shutdown = (rev > 7);
|
caps.can_shutdown = (rev > 7);
|
||||||
caps.can_cec = 1;
|
caps.can_cec = 1;
|
||||||
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
caps.display_type = HW_DISPLAY_LINE_TEXT;
|
||||||
|
@@ -26,6 +26,7 @@ typedef struct hw_caps
|
|||||||
int has_SCART;
|
int has_SCART;
|
||||||
int has_SCART_input;
|
int has_SCART_input;
|
||||||
int has_YUV_cinch;
|
int has_YUV_cinch;
|
||||||
|
int can_cpufreq;
|
||||||
int can_shutdown;
|
int can_shutdown;
|
||||||
int can_cec;
|
int can_cec;
|
||||||
int can_ar_14_9; /* video drivers have 14:9 aspect ratio mode */
|
int can_ar_14_9; /* video drivers have 14:9 aspect ratio mode */
|
||||||
|
Reference in New Issue
Block a user