summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-12-02 20:09:56 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2013-12-02 20:09:56 +0100
commit23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6 (patch)
tree7a1ab2dca253aa7825183e1ad7b5f0edde7b3032 /firmware/target
parent9dab30adf0d7b4153dfcc4dc5ca5bfc7129924e6 (diff)
downloadrockbox-23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6.tar.gz
rockbox-23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6.tar.bz2
rockbox-23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6.zip
imx233: don't compile fm tuner code in bootloader
Change-Id: Icd36e6b03965272eb169a19630b720f38bac6d9e
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/imx233/system-imx233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/system-imx233.c b/firmware/target/arm/imx233/system-imx233.c
index 4223af26c4..b25ccb5c47 100644
--- a/firmware/target/arm/imx233/system-imx233.c
+++ b/firmware/target/arm/imx233/system-imx233.c
@@ -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
}