Revert "Fix Red on PowerSave in Simulator"
This reverts commit 568b81202e
.
Change-Id: I2af42cd53d0ce490bf96c68288e9fbde034c0069
This commit is contained in:
parent
c75aac8424
commit
16f10e2abd
9 changed files with 8 additions and 10 deletions
|
@ -196,7 +196,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -189,7 +189,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -206,7 +206,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK | POWERSV_DISP)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK | POWERSV_DISP)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -200,7 +200,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -205,7 +205,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK | POWERSV_DISP)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK | POWERSV_DISP)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -216,7 +216,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -222,7 +222,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -224,7 +224,7 @@
|
||||||
/*define this to enable CPU voltage scaling on AMS devices*/
|
/*define this to enable CPU voltage scaling on AMS devices*/
|
||||||
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
#define HAVE_ADJUSTABLE_CPU_VOLTAGE
|
||||||
|
|
||||||
#if (!defined(BOOTLOADER)) && (!defined(SIMULATOR))
|
#ifndef BOOTLOADER
|
||||||
/*define this with flags for power saving options device supports*/
|
/*define this with flags for power saving options device supports*/
|
||||||
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
#define CONFIG_POWER_SAVING (POWERSV_CPU | POWERSV_I2C | POWERSV_DISK)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -215,7 +215,6 @@ static void enable_controller_mci(bool on)
|
||||||
/* AMS v1 have two different drive interfaces MCI_SD(XPD) and GGU_IDE */
|
/* AMS v1 have two different drive interfaces MCI_SD(XPD) and GGU_IDE */
|
||||||
static void enable_controller(bool on, const int drive)
|
static void enable_controller(bool on, const int drive)
|
||||||
{
|
{
|
||||||
(void) on;
|
|
||||||
|
|
||||||
if (drive == INTERNAL_AS3525)
|
if (drive == INTERNAL_AS3525)
|
||||||
{
|
{
|
||||||
|
@ -236,7 +235,6 @@ static void enable_controller(bool on, const int drive)
|
||||||
else
|
else
|
||||||
enable_controller_mci(on);
|
enable_controller_mci(on);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_HOTSWAP
|
#ifdef HAVE_HOTSWAP
|
||||||
|
|
Loading…
Reference in a new issue