From 11cca264ff57ad0b234bd1cd2c9a2366b967feb7 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 23 Apr 2010 15:32:50 +0000 Subject: i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for 528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25699 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/gigabeats.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'firmware/export/config/gigabeats.h') diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h index 6d0c25a4d6..e64ceb0171 100644 --- a/firmware/export/config/gigabeats.h +++ b/firmware/export/config/gigabeats.h @@ -147,7 +147,7 @@ #define GPIO_EVENT_MASK (USE_GPIO1_EVENTS) /* Define this if target has an additional number of threads specific to it */ -#define TARGET_EXTRA_THREADS 2 +#define TARGET_EXTRA_THREADS 3 /* Type of mobile power - check this out */ #define BATTERY_CAPACITY_DEFAULT 700 /* default battery capacity */ @@ -168,9 +168,10 @@ #define FLASH_SIZE 0x200000 /* Define this to the CPU frequency */ -/* TODO */ #define CPU_FREQ 264000000 /* Set by retailOS loader */ +#define FREQ cpu_frequency + /* define this if the unit can be powered or charged via USB */ #define HAVE_USB_POWER #define USBPOWER_BUTTON BUTTON_MENU -- cgit v1.2.3