diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-11-19 20:39:10 +0000 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-11-19 20:39:10 +0000 |
commit | 446f352abda2dbc9de90c35a02100ed5e9aad77c (patch) | |
tree | 7ee2b4dae98376e0380b0b8bc44e1e688d10ede2 /firmware/SOURCES | |
parent | c2c2274e0adacc1a0c5bdb57fa1367badb7b047f (diff) |
imx233: factor fmradio i2c and tuner power code
Choices are limited for those: i2c is either generic software or imx233
hardware and power is either none or with a gpio. So factor ever possible
combination in a single common file and use fmradio-target.h to supply the
required parameters. This will remove a bunch of duplicate code.
Change-Id: If12faeb2e371631cd39cc18a4c1d859812007934
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r-- | firmware/SOURCES | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index 5cdc37976a..8429b7e85b 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -1165,7 +1165,7 @@ target/arm/tms320dm320/creative-zvm/usb-creativezvm.c #if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) || defined(CREATIVE_ZENMOZAIC) \ || defined(CREATIVE_ZENV) -target/arm/imx233/creative-zen/fmradio-i2c-zen.c +target/arm/imx233/fmradio-imx233.c target/arm/imx233/creative-zen/backlight-zen.c # if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) target/arm/imx233/creative-zen/lcd-zen.c @@ -1182,33 +1182,30 @@ target/arm/imx233/button-lradc-imx233.c #endif #ifdef CREATIVE_ZENXFI2 -target/arm/imx233/creative-zenxfi2/fmradio-i2c-zenxfi2.c +target/arm/imx233/fmradio-imx233.c target/arm/imx233/creative-zenxfi2/backlight-zenxfi2.c target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c target/arm/imx233/creative-zenxfi2/button-zenxfi2.c target/arm/imx233/creative-zenxfi2/debug-zenxfi2.c -target/arm/imx233/creative-zenxfi2/power-zenxfi2.c target/arm/imx233/creative-zenxfi2/powermgmt-zenxfi2.c #endif #ifdef CREATIVE_ZENXFI3 drivers/mpr121.c -target/arm/imx233/creative-zenxfi3/fmradio-i2c-zenxfi3.c +target/arm/imx233/fmradio-imx233.c target/arm/imx233/creative-zenxfi3/backlight-zenxfi3.c target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c target/arm/imx233/creative-zenxfi3/button-zenxfi3.c target/arm/imx233/creative-zenxfi3/debug-zenxfi3.c -target/arm/imx233/creative-zenxfi3/power-zenxfi3.c target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c #endif #if defined(SONY_NWZE360) || defined(SONY_NWZE370) target/arm/imx233/button-lradc-imx233.c -target/arm/imx233/sony-nwz/fmradio-i2c-nwz.c +target/arm/imx233/fmradio-imx233.c target/arm/imx233/sony-nwz/backlight-nwz.c target/arm/imx233/sony-nwz/button-nwz.c target/arm/imx233/sony-nwz/debug-nwz.c -target/arm/imx233/sony-nwz/power-nwz.c # if defined(SONY_NWZE360) target/arm/imx233/sony-nwz/lcd-nwze360.c target/arm/imx233/sony-nwz/powermgmt-nwze360.c @@ -1427,12 +1424,12 @@ target/arm/as3525/lcd-as-e200v2-fuze-fuzev2.S #ifdef SANSA_FUZEPLUS drivers/synaptics-rmi.c drivers/generic_i2c.c +target/arm/imx233/fmradio-imx233.c target/arm/imx233/sansa-fuzeplus/fmradio-i2c-fuzeplus.c target/arm/imx233/sansa-fuzeplus/backlight-fuzeplus.c target/arm/imx233/sansa-fuzeplus/lcd-fuzeplus.c target/arm/imx233/sansa-fuzeplus/button-fuzeplus.c target/arm/imx233/sansa-fuzeplus/debug-fuzeplus.c -target/arm/imx233/sansa-fuzeplus/power-fuzeplus.c target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c #endif |