imx233: don't compile fm tuner code in bootloader

Change-Id: Icd36e6b03965272eb169a19630b720f38bac6d9e
This commit is contained in:
Amaury Pouly 2013-12-02 20:09:56 +01:00
parent 9dab30adf0
commit 23c6421f38
2 changed files with 11 additions and 1 deletions

View file

@ -1165,7 +1165,9 @@ target/arm/tms320dm320/creative-zvm/usb-creativezvm.c
#if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) || defined(CREATIVE_ZENMOZAIC) \
|| defined(CREATIVE_ZENV)
#ifndef BOOTLOADER
target/arm/imx233/fmradio-imx233.c
#endif
target/arm/imx233/creative-zen/backlight-zen.c
# if defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI)
target/arm/imx233/creative-zen/lcd-zen.c
@ -1182,7 +1184,9 @@ target/arm/imx233/button-lradc-imx233.c
#endif
#ifdef CREATIVE_ZENXFI2
#ifndef BOOTLOADER
target/arm/imx233/fmradio-imx233.c
#endif
target/arm/imx233/creative-zenxfi2/backlight-zenxfi2.c
target/arm/imx233/creative-zenxfi2/lcd-zenxfi2.c
target/arm/imx233/creative-zenxfi2/button-zenxfi2.c
@ -1192,7 +1196,9 @@ target/arm/imx233/creative-zenxfi2/powermgmt-zenxfi2.c
#ifdef CREATIVE_ZENXFI3
drivers/mpr121.c
#ifndef BOOTLOADER
target/arm/imx233/fmradio-imx233.c
#endif
target/arm/imx233/creative-zenxfi3/backlight-zenxfi3.c
target/arm/imx233/creative-zenxfi3/lcd-zenxfi3.c
target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
@ -1202,7 +1208,9 @@ target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c
#if defined(SONY_NWZE360) || defined(SONY_NWZE370)
target/arm/imx233/button-lradc-imx233.c
#ifndef BOOTLOADER
target/arm/imx233/fmradio-imx233.c
#endif
target/arm/imx233/sony-nwz/backlight-nwz.c
target/arm/imx233/sony-nwz/button-nwz.c
target/arm/imx233/sony-nwz/debug-nwz.c
@ -1423,8 +1431,10 @@ target/arm/as3525/lcd-as-e200v2-fuze-fuzev2.S
#ifdef SANSA_FUZEPLUS
drivers/synaptics-rmi.c
#ifndef BOOTLOADER
drivers/generic_i2c.c
target/arm/imx233/fmradio-imx233.c
#endif
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

View file

@ -142,7 +142,7 @@ void system_init(void)
cpu_frequency = imx233_clkctrl_get_freq(CLK_CPU);
#if CONFIG_TUNER
#if !defined(BOOTLOADER) && CONFIG_TUNER != 0
fmradio_i2c_init();
#endif
}