summaryrefslogtreecommitdiff
path: root/test/dm/Makefile
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2019-06-24 15:50:50 +0200
committerStefano Babic <sbabic@denx.de>2019-07-19 14:50:30 +0200
commit87e460c304ad6030bc2aab89edd44e433290d5bc (patch)
tree26f581f81b66987392ac55ec6d3b06c72b656994 /test/dm/Makefile
parent5da0095e3a670fe61a3421a2a826514a61a687e0 (diff)
downloadu-boot-87e460c304ad6030bc2aab89edd44e433290d5bc.tar.gz
clk: sandbox: Add sandbox test code for Common Clock Framework [CCF]
This patch provides code to implement the CCF clock tree in sandbox. It uses all the introduced primitives; some generic ones are reused, some sandbox specific were developed. In that way (after introducing the real CCF tree in sandbox) the recently added to clk-uclass.c: clk_get_by_id() and clk_get_parent_rate() are tested in their natural work environment. Usage (sandbox_defconfig and sandbox_flattree_defconfig): ./u-boot --fdt arch/sandbox/dts/test.dtb --command "ut dm clk_ccf" Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r--test/dm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index 6a36cc0a32..9c5e860108 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -17,7 +17,7 @@ obj-$(CONFIG_SOUND) += audio.o
obj-$(CONFIG_BLK) += blk.o
obj-$(CONFIG_BOARD) += board.o
obj-$(CONFIG_DM_BOOTCOUNT) += bootcount.o
-obj-$(CONFIG_CLK) += clk.o
+obj-$(CONFIG_CLK) += clk.o clk_ccf.o
obj-$(CONFIG_DM_ETH) += eth.o
obj-$(CONFIG_FIRMWARE) += firmware.o
obj-$(CONFIG_DM_GPIO) += gpio.o