forked from len0rd/rockbox
make tpj1022 bootloader compile again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23892 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0e74fceb8f
commit
2d722a17ec
9 changed files with 11 additions and 11 deletions
|
@ -279,7 +279,7 @@ enum {
|
||||||
#define BJACK_RIGHT BUTTON_RIGHT
|
#define BJACK_RIGHT BUTTON_RIGHT
|
||||||
#define BJACK_LEFT BUTTON_LEFT
|
#define BJACK_LEFT BUTTON_LEFT
|
||||||
|
|
||||||
#elif CONFIG_KEYPAD == ELIO_TPJ1022_PAD
|
#elif CONFIG_KEYPAD == TATUNG_TPJ1022_PAD
|
||||||
#define BJACK_SELECT_NAME "MAIN"
|
#define BJACK_SELECT_NAME "MAIN"
|
||||||
#define BJACK_STAY_NAME "MENU"
|
#define BJACK_STAY_NAME "MENU"
|
||||||
#define BJACK_RESUME_NAME ">>|"
|
#define BJACK_RESUME_NAME ">>|"
|
||||||
|
|
|
@ -139,7 +139,7 @@ PLUGIN_HEADER
|
||||||
#define RIGHT BUTTON_RIGHT
|
#define RIGHT BUTTON_RIGHT
|
||||||
#define FIRE BUTTON_SELECT
|
#define FIRE BUTTON_SELECT
|
||||||
|
|
||||||
#elif CONFIG_KEYPAD == ELIO_TPJ1022_PAD
|
#elif CONFIG_KEYPAD == TATUNG_TPJ1022_PAD
|
||||||
|
|
||||||
/* TODO: Figure out which buttons to use for Tatung Elio TPJ-1022 */
|
/* TODO: Figure out which buttons to use for Tatung Elio TPJ-1022 */
|
||||||
#define QUIT BUTTON_AB
|
#define QUIT BUTTON_AB
|
||||||
|
|
|
@ -25,7 +25,7 @@ main-c250wipe.c
|
||||||
show_logo.c
|
show_logo.c
|
||||||
main-pp.c
|
main-pp.c
|
||||||
#endif
|
#endif
|
||||||
#elif defined(ELIO_TPJ1022)
|
#elif defined(TATUNG_TPJ1022)
|
||||||
tpj1022.c
|
tpj1022.c
|
||||||
#elif defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(IAUDIO_M3)
|
#elif defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(IAUDIO_M3)
|
||||||
iaudio_coldfire.c
|
iaudio_coldfire.c
|
||||||
|
|
|
@ -946,7 +946,7 @@ target/arm/usb-fw-pp502x.c
|
||||||
#endif /* SIMULATOR */
|
#endif /* SIMULATOR */
|
||||||
#endif /* MROBE_100 */
|
#endif /* MROBE_100 */
|
||||||
|
|
||||||
#ifdef ELIO_TPJ1022
|
#ifdef TATUNG_TPJ1022
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
target/arm/ata-as-arm.S
|
target/arm/ata-as-arm.S
|
||||||
target/arm/ata-pp5020.c
|
target/arm/ata-pp5020.c
|
||||||
|
@ -960,7 +960,7 @@ target/arm/tatung/tpj1022/power-tpj1022.c
|
||||||
target/arm/tatung/tpj1022/powermgmt-tpj1022.c
|
target/arm/tatung/tpj1022/powermgmt-tpj1022.c
|
||||||
target/arm/usb-fw-pp502x.c
|
target/arm/usb-fw-pp502x.c
|
||||||
#endif /* SIMULATOR */
|
#endif /* SIMULATOR */
|
||||||
#endif /* ELIO_TPJ1022 */
|
#endif /* TATUNG_TPJ1022 */
|
||||||
|
|
||||||
#ifdef IPOD_4G
|
#ifdef IPOD_4G
|
||||||
#ifndef SIMULATOR
|
#ifndef SIMULATOR
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
#define IRIVER_H10_PAD 12
|
#define IRIVER_H10_PAD 12
|
||||||
#define SANSA_E200_PAD 13
|
#define SANSA_E200_PAD 13
|
||||||
#define SANSA_C200_PAD 14
|
#define SANSA_C200_PAD 14
|
||||||
#define ELIO_TPJ1022_PAD 15
|
#define TATUNG_TPJ1022_PAD 15
|
||||||
#define ARCHOS_AV300_PAD 16
|
#define ARCHOS_AV300_PAD 16
|
||||||
#define MROBE100_PAD 17
|
#define MROBE100_PAD 17
|
||||||
#define MROBE500_PAD 18
|
#define MROBE500_PAD 18
|
||||||
|
@ -337,7 +337,7 @@ Lyre prototype 1 */
|
||||||
#include "config/sansac200.h"
|
#include "config/sansac200.h"
|
||||||
#elif defined(SANSA_M200)
|
#elif defined(SANSA_M200)
|
||||||
#include "config/sansam200.h"
|
#include "config/sansam200.h"
|
||||||
#elif defined(ELIO_TPJ1022)
|
#elif defined(TATUNG_TPJ1022)
|
||||||
#include "config/tatungtpj1022.h"
|
#include "config/tatungtpj1022.h"
|
||||||
#elif defined(MROBE_100)
|
#elif defined(MROBE_100)
|
||||||
#include "config/mrobe100.h"
|
#include "config/mrobe100.h"
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
|
/* #define IRAM_LCDFRAMEBUFFER IDATA_ATTR *//* put the lcd frame buffer in IRAM */
|
||||||
|
|
||||||
#define CONFIG_KEYPAD ELIO_TPJ1022_PAD
|
#define CONFIG_KEYPAD TATUNG_TPJ1022_PAD
|
||||||
|
|
||||||
/* Define this if you do software codec */
|
/* Define this if you do software codec */
|
||||||
#define CONFIG_CODEC SWCODEC
|
#define CONFIG_CODEC SWCODEC
|
||||||
|
|
|
@ -272,7 +272,7 @@ void sleep(int ticks)
|
||||||
|
|
||||||
void yield(void)
|
void yield(void)
|
||||||
{
|
{
|
||||||
#if ((defined(ELIO_TPJ1022)) && defined(BOOTLOADER))
|
#if ((defined(TATUNG_TPJ1022)) && defined(BOOTLOADER))
|
||||||
/* Some targets don't like yielding in the bootloader */
|
/* Some targets don't like yielding in the bootloader */
|
||||||
#else
|
#else
|
||||||
switch_thread();
|
switch_thread();
|
||||||
|
|
|
@ -459,7 +459,7 @@ void system_init(void)
|
||||||
/* to be done */
|
/* to be done */
|
||||||
#elif defined (MROBE_100)
|
#elif defined (MROBE_100)
|
||||||
/* to be done */
|
/* to be done */
|
||||||
#elif defined (ELIO_TPJ1022)
|
#elif defined (TATUNG_TPJ1022)
|
||||||
/* to be done */
|
/* to be done */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@
|
||||||
#define USB_GPIO_MASK 0x10
|
#define USB_GPIO_MASK 0x10
|
||||||
#define USB_GPIO_VAL 0x10
|
#define USB_GPIO_VAL 0x10
|
||||||
|
|
||||||
#elif defined(ELIO_TPJ1022)
|
#elif defined(TATUNG_TPJ1022)
|
||||||
/* GPIO ? bit ? is usb detect (dummy value)*/
|
/* GPIO ? bit ? is usb detect (dummy value)*/
|
||||||
#define USB_GPIO GPIOD
|
#define USB_GPIO GPIOD
|
||||||
#define USB_GPIO_MASK 0x10
|
#define USB_GPIO_MASK 0x10
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue