mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
pick mipsbox code from DDT, TangoCash and max10
Origin commit data
------------------
Commit: f3f0bdaddb
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-05-03 (Fri, 03 May 2019)
Origin message was:
------------------
- pick mipsbox code from DDT, TangoCash and max10
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
|
||||
#include <cs_api.h>
|
||||
|
||||
#if HAVE_ARM_HARDWARE
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
#include <hardware/video.h>
|
||||
extern cVideo * videoDecoder;
|
||||
#endif
|
||||
@@ -97,7 +97,7 @@ extern int allow_flash;
|
||||
#define LIST_OF_UPDATES_LOCAL_FILENAME "update.list"
|
||||
|
||||
// TODO: move this mess below to libstb-hal
|
||||
#if HAVE_ARM_HARDWARE
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
#define FILEBROWSER_UPDATE_FILTER "tgz"
|
||||
#define MTD_OF_WHOLE_IMAGE 999
|
||||
#define MTD_DEVICE_OF_UPDATE_PART "/dev/mtd999"
|
||||
@@ -362,7 +362,7 @@ bool CFlashUpdate::selectHttpImage(void)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#if HAVE_ARM_HARDWARE
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
if (gotImage && (filename.substr(filename.find_last_of(".") + 1) == "tgz"))
|
||||
{
|
||||
// manipulate fileType for tgz-packages
|
||||
@@ -616,7 +616,7 @@ int CFlashUpdate::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
sleep(2);
|
||||
ft.reboot();
|
||||
}
|
||||
#if HAVE_ARM_HARDWARE
|
||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||
else if (fileType == 'Z') // flashing image with ofgwrite
|
||||
{
|
||||
showGlobalStatus(100);
|
||||
|
Reference in New Issue
Block a user