mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
Compare commits
5 commits
8d15aff38a
...
7bc856046b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bc856046b | ||
|
|
476d23ac3a | ||
|
|
7e31f2a6d5 | ||
|
|
ef31aae6f4 | ||
|
|
e13619b888 |
15 changed files with 48 additions and 14 deletions
|
|
@ -386,17 +386,6 @@ Lyre prototype 1 */
|
||||||
#define CPU 0
|
#define CPU 0
|
||||||
#define COP 1
|
#define COP 1
|
||||||
|
|
||||||
/* imx233 specific: IMX233_PACKAGE */
|
|
||||||
#define IMX233_BGA100 0
|
|
||||||
#define IMX233_BGA169 1
|
|
||||||
#define IMX233_TQFP100 2
|
|
||||||
#define IMX233_TQFP128 3
|
|
||||||
#define IMX233_LQFP100 4
|
|
||||||
|
|
||||||
/* IMX233_PARTITIONS */
|
|
||||||
#define IMX233_FREESCALE (1 << 0) /* Freescale I.MX233 nonstandard two-level MBR */
|
|
||||||
#define IMX233_CREATIVE (1 << 1) /* Creative MBLK windowing */
|
|
||||||
|
|
||||||
/* CONFIG_BUFLIB_BACKEND */
|
/* CONFIG_BUFLIB_BACKEND */
|
||||||
#define BUFLIB_BACKEND_MEMPOOL 0 /* Default memory pool backed buflib */
|
#define BUFLIB_BACKEND_MEMPOOL 0 /* Default memory pool backed buflib */
|
||||||
#define BUFLIB_BACKEND_MALLOC 1 /* malloc() buflib (for debugging) */
|
#define BUFLIB_BACKEND_MALLOC 1 /* malloc() buflib (for debugging) */
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative Zen
|
* This config file is for the Creative Zen
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative ZEN Mozaic
|
* This config file is for the Creative ZEN Mozaic
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative ZEN V
|
* This config file is for the Creative ZEN V
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative Zen X-Fi
|
* This config file is for the Creative Zen X-Fi
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative Zen X-Fi2
|
* This config file is for the Creative Zen X-Fi2
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative Zen X-Fi3
|
* This config file is for the Creative Zen X-Fi3
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Creative Zen X-Fi Style
|
* This config file is for the Creative Zen X-Fi Style
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@
|
||||||
|
|
||||||
/* Battery doesn't update its charging status, but the charger does. */
|
/* Battery doesn't update its charging status, but the charger does. */
|
||||||
#define POWER_DEV_NAME "mp2731-charger"
|
#define POWER_DEV_NAME "mp2731-charger"
|
||||||
#define BATTERY_DEV_NAME "mp2731-charger"
|
|
||||||
|
|
||||||
/* Battery */
|
/* Battery */
|
||||||
#define BATTERY_TYPES_COUNT 1
|
#define BATTERY_TYPES_COUNT 1
|
||||||
|
|
|
||||||
14
firmware/export/config/imx233-config.h
Normal file
14
firmware/export/config/imx233-config.h
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
/*
|
||||||
|
* To be included by config/TARGET.h
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* IMX233_PACKAGE */
|
||||||
|
#define IMX233_BGA100 0
|
||||||
|
#define IMX233_BGA169 1
|
||||||
|
#define IMX233_TQFP100 2
|
||||||
|
#define IMX233_TQFP128 3
|
||||||
|
#define IMX233_LQFP100 4
|
||||||
|
|
||||||
|
/* IMX233_PARTITIONS */
|
||||||
|
#define IMX233_FREESCALE (1 << 0) /* Freescale I.MX233 nonstandard two-level MBR */
|
||||||
|
#define IMX233_CREATIVE (1 << 1) /* Creative MBLK windowing */
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Sandisk Sansa Fuze+
|
* This config file is for the Sandisk Sansa Fuze+
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Sony NWZ-E360 series
|
* This config file is for the Sony NWZ-E360 series
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/* Pull in SoC-specific defines */
|
||||||
|
#include "imx233-config.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This config file is for the Sony NWZ-E370/E380 series
|
* This config file is for the Sony NWZ-E370/E380 series
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,9 @@ static const char * const sysfs_bl_brightness =
|
||||||
"/sys/class/backlight/backlight_pwm0/brightness";
|
"/sys/class/backlight/backlight_pwm0/brightness";
|
||||||
|
|
||||||
static const char * const sysfs_bl_power =
|
static const char * const sysfs_bl_power =
|
||||||
"/sys/class/backlight/backlight_pwm0/bl_power";
|
/* Framebuffer powers off both touch (if available) and screen */
|
||||||
|
"/sys/class/graphics/fb0/blank";
|
||||||
|
|
||||||
#else
|
#else
|
||||||
static const char * const sysfs_bl_brightness =
|
static const char * const sysfs_bl_brightness =
|
||||||
"/sys/class/backlight/pwm-backlight.0/brightness";
|
"/sys/class/backlight/pwm-backlight.0/brightness";
|
||||||
|
|
|
||||||
|
|
@ -938,7 +938,7 @@ static int db_to_usb_audio_volume(int db, int numdecimals)
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(LOGF_ENABLE) && defined(ROCKBOX_HAS_LOGF)
|
#if defined(DEBUG) || (defined(LOGF_ENABLE) && defined(ROCKBOX_HAS_LOGF))
|
||||||
static const char *usb_audio_ac_ctl_req_str(uint8_t cmd)
|
static const char *usb_audio_ac_ctl_req_str(uint8_t cmd)
|
||||||
{
|
{
|
||||||
switch(cmd)
|
switch(cmd)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue