mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
5ddf5d7705
The current method assumes that clocks are numbered from 0 and we can determine a clock by its number. It is safer to use an ID in the clock's platform data to avoid the situation where another clock is bound before the one we expect. Move the existing code into rk3036 since it still works there. Add a new implementation for rk3288. Signed-off-by: Simon Glass <sjg@chromium.org>
15 lines
357 B
Makefile
15 lines
357 B
Makefile
#
|
|
# Copyright (c) 2014 Google, Inc
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288-board-spl.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036-board-spl.o
|
|
else
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += board.o
|
|
endif
|
|
obj-y += rk_timer.o
|
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
|