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,7 +40,7 @@
#undef rmdir
#if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) && !defined(__PCTOOL__)
#if (CONFIG_PLATFORM & PLATFORM_ANDROID) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) && !defined(__PCTOOL__)
#include "dir-target.h"
#define opendir _opendir
#define mkdir _mkdir
@ -63,7 +63,7 @@ extern int sim_rmdir(const char* name);
const char *rbhome;
#endif
#if !defined(SAMSUNG_YPR0) && !defined(__PCTOOL__)
#if !(defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)) && !defined(__PCTOOL__)
/* flags for get_user_file_path() */
/* whether you need write access to that file/dir, especially true