1
0
Fork 0
forked from len0rd/rockbox

Samsung YP-R0/YP-R1 refactoring

This patch includes some refactoring:
- renaming according to Rockbox guidelines
- GPIO code merging, still with target defines
- some simplification in firmware/SOURCES

Change-Id: I7fd95aece53f40efdf8caac22348376615795431
This commit is contained in:
Lorenzo Miori 2013-12-28 19:00:57 +01:00 committed by Thomas Martitz
parent e32ace831a
commit f005d841f2
11 changed files with 231 additions and 413 deletions

View file

@ -74,54 +74,47 @@ target/hosted/sdl/app/button-application.c
#endif
#endif
#if defined(SAMSUNG_YPR0) && !defined(SIMULATOR)
drivers/adc-as3514.c
drivers/lcd-memframe.c
#if (CONFIG_RTC == RTC_AS3514)
drivers/rtc/rtc_as3514.c
#else
target/hosted/rtc.c
#endif
#if defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1)
target/hosted/kernel-unix.c
target/hosted/filesystem-unix.c
target/hosted/lc-unix.c
target/hosted/samsungypr/ypr0/button-ypr0.c
target/hosted/samsungypr/lcd-ypr.c
target/hosted/samsungypr/ypr0/system-ypr0.c
thread.c
#ifdef HAVE_BACKLIGHT
target/hosted/samsungypr/ypr0/backlight-ypr0.c
#endif
target/hosted/samsungypr/ypr0/ascodec-ypr0.c
target/hosted/samsungypr/ypr0/powermgmt-ypr0.c
target/hosted/samsungypr/gpio_ypr.c
target/hosted/samsungypr/ypr0/audio-ypr0.c
drivers/lcd-memframe.c
target/hosted/samsungypr/lcd-ypr.c
target/hosted/samsungypr/gpio-ypr.c
#if CONFIG_TUNER
target/hosted/samsungypr/radio-ypr.c
#endif
#endif
#ifdef SAMSUNG_YPR1
drivers/lcd-memframe.c
target/hosted/kernel-unix.c
target/hosted/filesystem-unix.c
target/hosted/lc-unix.c
#if defined(SAMSUNG_YPR0) && !defined(SIMULATOR)
drivers/adc-as3514.c
#if (CONFIG_RTC == RTC_AS3514)
drivers/rtc/rtc_as3514.c
#else
target/hosted/rtc.c
#endif
target/hosted/samsungypr/ypr0/button-ypr0.c
target/hosted/samsungypr/ypr0/system-ypr0.c
#ifdef HAVE_BACKLIGHT
target/hosted/samsungypr/ypr0/backlight-ypr0.c
#endif
target/hosted/samsungypr/ypr0/ascodec-ypr0.c
target/hosted/samsungypr/ypr0/powermgmt-ypr0.c
target/hosted/samsungypr/ypr0/audio-ypr0.c
#endif
#if defined(SAMSUNG_YPR1) && !defined(SIMULATOR)
target/hosted/samsungypr/ypr1/mcs5000-ypr1.c
target/hosted/samsungypr/ypr1/button-ypr1.c
target/hosted/samsungypr/lcd-ypr.c
target/hosted/samsungypr/ypr1/system-ypr1.c
thread.c
#ifdef HAVE_BACKLIGHT
target/hosted/samsungypr/ypr1/backlight-ypr1.c
#endif
target/hosted/samsungypr/ypr1/powermgmt-ypr1.c
target/hosted/samsungypr/gpio_ypr.c
target/hosted/samsungypr/ypr1/audio-ypr1.c
target/hosted/samsungypr/ypr1/pmu-ypr1.c
target/hosted/samsungypr/ypr1/wmcodec-ypr1.c
#if CONFIG_TUNER
target/hosted/samsungypr/radio-ypr.c
#endif
#endif
/* Maemo specific files */