mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Simon Glass](/assets/img/avatar_default.png)
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>
16 lines
357 B
Makefile
16 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/
|