Samsung YP-R1 target port

This is the basic port to the new target Samsung
YP-R1, which runs on a similar platform as YP-R0.
Port is usable, although there are still
some optimizations that have to be done.

Change-Id: If83a8e386369e413581753780c159026d9e41f04
This commit is contained in:
Lorenzo Miori 2013-09-10 22:48:34 +02:00 committed by Thomas Martitz
parent b828b9d99b
commit e876f4df6d
36 changed files with 1849 additions and 48 deletions

View file

@ -40,9 +40,9 @@
#define ROCKBOX_DIR_LEN (sizeof(ROCKBOX_DIR)-1)
#endif /* def __PCTOOL__ */
#if !defined(APPLICATION) || defined(SAMSUNG_YPR0)
#if !defined(APPLICATION) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)
#ifdef SAMSUNG_YPR0
#if defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)
#define HOME_DIR "/mnt/media0"
#else
#define HOME_DIR "/"
@ -83,7 +83,7 @@ extern void paths_init(void);
#define PLUGIN_DEMOS_DIR PLUGIN_DIR "/demos"
#define VIEWERS_DIR PLUGIN_DIR "/viewers"
#if defined(APPLICATION) && !defined(SAMSUNG_YPR0)
#if defined(APPLICATION) && !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1))
#define PLUGIN_DATA_DIR ROCKBOX_DIR "/rocks.data"
#define PLUGIN_GAMES_DATA_DIR PLUGIN_DATA_DIR
#define PLUGIN_APPS_DATA_DIR PLUGIN_DATA_DIR