libspark: add remaining misc stuff

Now the standalone lib can be built :-)
This commit is contained in:
Stefan Seyfried
2012-02-11 13:36:16 +01:00
parent 6045601ce3
commit 8ae65760bc
2 changed files with 5 additions and 2 deletions

View File

@@ -23,10 +23,13 @@ if BOXTYPE_SPARK
SUBDIRS += libspark
libstb_hal_a_LIBADD += \
libspark/audio.o \
libspark/ca.o \
libspark/dmx.o \
libspark/init.o \
libspark/irmp.o \
libspark/lt_dfbinput.o \
libspark/playback.o \
libspark/pwrmngr.o \
libspark/record.o \
libspark/video.o
endif

View File

@@ -8,8 +8,6 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <avs/avs_inf.h>
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_PWRMNGR, this, args)
void cCpuFreqManager::Up(void) { lt_debug("%s\n", __FUNCTION__); }
void cCpuFreqManager::Down(void) { lt_debug("%s\n", __FUNCTION__); }
@@ -45,6 +43,7 @@ bool cCpuFreqManager::SetCpuFreq(unsigned long f)
* f == 50000000 => min => standby
*/
lt_debug("%s(%lu) => set standby = %s\n", __FUNCTION__, f, f?"true":"false");
#if 0
int fd = open("/dev/stb/tdsystem", O_RDONLY);
if (fd < 0)
{
@@ -65,6 +64,7 @@ bool cCpuFreqManager::SetCpuFreq(unsigned long f)
}
close(fd);
#endif
return true;
}