Revert "HD1: Workaround for missing cs_get_chip_type"

This reverts commit a6fe60d60a.
This commit is contained in:
M. Liebmann
2017-06-16 19:10:23 +02:00
parent 4adea23661
commit e3cc6cee67
2 changed files with 2 additions and 6 deletions

View File

@@ -6,7 +6,6 @@
*
* License: GPL v2 or later
*/
#include <config.h>
#include "cs_api.h"
#include <stdio.h>
#include <string.h>
@@ -21,10 +20,7 @@ hw_caps_t *get_hwcaps(void) {
if (initialized)
return &caps;
int rev = cs_get_revision();
int chip = 0;
#ifdef BOXMODEL_CS_HD2
chip = cs_get_chip_type();
#endif
int chip = cs_get_chip_type();
caps.has_fan = (rev < 8 && CFEManager::getInstance()->getFE(0)->hasSat()); // only SAT-HD1 before rev 8 has fan
caps.has_HDMI = 1;
caps.has_SCART = (rev != 10);

View File

@@ -82,7 +82,7 @@ int cs_get_tsp_config(unsigned int port, tsrouter_tsp_config_t *tsp_config);
unsigned long long cs_get_serial(void);
unsigned int cs_get_revision(void);
/* Dummy function for compatibility with hd2 */
//unsigned int cs_get_chip_type(void);
unsigned int cs_get_chip_type(void);
// library version functions