Revert "Fix Red on PowerSave in Simulator"

This reverts commit 568b81202e.

Change-Id: I2af42cd53d0ce490bf96c68288e9fbde034c0069
This commit is contained in:
William Wilgus 2018-07-28 17:34:16 +02:00
parent c75aac8424
commit 16f10e2abd
9 changed files with 8 additions and 10 deletions

View file

@ -196,7 +196,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
#endif

View file

@ -189,7 +189,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
#endif

View file

@ -206,7 +206,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK | POWERSV_DISP)
#endif

View file

@ -200,7 +200,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
#endif

View file

@ -205,7 +205,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK | POWERSV_DISP)
#endif

View file

@ -216,7 +216,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
#endif

View file

@ -222,7 +222,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
#endif

View file

@ -224,7 +224,7 @@
/*define this to enable CPU voltage scaling on AMS devices*/
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
#ifndef BOOTLOADER
/*define this with flags for power saving options device supports*/
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
#endif

View file

@ -215,7 +215,6 @@ static void enable_controller_mci(bool on)
/* AMS v1 have two different drive interfaces MCI_SD(XPD) and GGU_IDE */
static void enable_controller(bool on, const int drive)
{
(void) on;
if (drive == INTERNAL_AS3525)
{
@ -236,7 +235,6 @@ static void enable_controller(bool on, const int drive)
else
enable_controller_mci(on);
#endif
}
#ifdef HAVE_HOTSWAP