summaryrefslogtreecommitdiff
path: root/src/cpu/samsung/s5p-common/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/samsung/s5p-common/Makefile.inc')
-rw-r--r--src/cpu/samsung/s5p-common/Makefile.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/samsung/s5p-common/Makefile.inc b/src/cpu/samsung/s5p-common/Makefile.inc
index 0f4200c770..118dd47d04 100644
--- a/src/cpu/samsung/s5p-common/Makefile.inc
+++ b/src/cpu/samsung/s5p-common/Makefile.inc
@@ -1,8 +1,7 @@
-bootblock-y += pwm.c
bootblock-y += s5p_gpio.c
-bootblock-y += timer.c
+bootblock-$(CONFIG_EARLY_CONSOLE) += pwm.c
+bootblock-$(CONFIG_EARLY_CONSOLE) += timer.c
-romstage-y += cpu_info.c
romstage-y += pwm.c # needed by timer.c
romstage-y += s5p_gpio.c
romstage-y += timer.c