summaryrefslogtreecommitdiff
path: root/arch/arm/mach-rockchip
diff options
context:
space:
mode:
authorhuang lin <hl@rock-chips.com>2015-11-17 14:20:12 +0800
committerSimon Glass <sjg@chromium.org>2015-12-01 08:07:22 -0700
commit302d1767b994e209c0a021c0602d287a2a8d979d (patch)
tree9b7f4fb52e2f998eb472f65c8b8d39a55afe9615 /arch/arm/mach-rockchip
parent5138337b3ff20380d2a62eccb63fdfd05f51982b (diff)
downloadu-boot-imx-302d1767b994e209c0a021c0602d287a2a8d979d.zip
u-boot-imx-302d1767b994e209c0a021c0602d287a2a8d979d.tar.gz
u-boot-imx-302d1767b994e209c0a021c0602d287a2a8d979d.tar.bz2
rockchip: add config decide whether to build common.c
some rockchips soc will not use uclass in SPL stage, so define config to decide whether to build common.c Signed-off-by: Lin Huang <hl@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-rockchip')
-rw-r--r--arch/arm/mach-rockchip/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-rockchip/Makefile b/arch/arm/mach-rockchip/Makefile
index 7088711..902235b 100644
--- a/arch/arm/mach-rockchip/Makefile
+++ b/arch/arm/mach-rockchip/Makefile
@@ -9,6 +9,6 @@ obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
else
obj-y += board.o
endif
-obj-y += common.o
obj-y += rk_timer.o
+obj-$(CONFIG_$(SPL_)ROCKCHIP_COMMON) += common.o
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/