diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-07-07 17:29:41 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-07-07 17:36:21 +0200 |
commit | 3afcb53fb94b7bb937147236f338dd89afb781d0 (patch) | |
tree | fca31ca98a49047e49a0f317abdc00ede26599f3 /firmware/target/arm/imx233/kernel-imx233.c | |
parent | 659febc749627a92c59f2d765da59eb9c995c50d (diff) |
imx233: rework power management
The current code was spreaded over power and powermgmt which made
it behave strangely, especially since there are relationships
between power management and frequency scaling. The new code makes
sure power management is initialised before frequency scaling
starts. It also makes sure to start from a known state, thus
fixing potential issue when the bootloader stops in a trickle
state where DCDC is improperly configured.
Change-Id: Ibded2e590e108f6c98daa52d2cf1bd28763c8923
Diffstat (limited to 'firmware/target/arm/imx233/kernel-imx233.c')
-rw-r--r-- | firmware/target/arm/imx233/kernel-imx233.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/kernel-imx233.c b/firmware/target/arm/imx233/kernel-imx233.c index b3760a4782..c3ee2e8bd3 100644 --- a/firmware/target/arm/imx233/kernel-imx233.c +++ b/firmware/target/arm/imx233/kernel-imx233.c @@ -37,7 +37,6 @@ void tick_start(unsigned int interval_in_ms) false, &tick_timer); } - void arbiter_init(struct channel_arbiter_t *a, unsigned count) { mutex_init(&a->mutex); |