diff options
author | Claudiu Beznea <claudiu.beznea@microchip.com> | 2020-09-07 17:46:39 +0300 |
---|---|---|
committer | Eugen Hristev <eugen.hristev@microchip.com> | 2020-09-22 11:27:18 +0300 |
commit | 653bcce4085a5816a9fee560412fbfaa171db7bb (patch) | |
tree | 3d183896dde351144870a21f30bc39012c896ecd /drivers/clk/at91/Makefile | |
parent | 5d729f96299321af2c132fae4b56306e19a3f52b (diff) | |
download | u-boot-653bcce4085a5816a9fee560412fbfaa171db7bb.tar.gz u-boot-653bcce4085a5816a9fee560412fbfaa171db7bb.tar.xz u-boot-653bcce4085a5816a9fee560412fbfaa171db7bb.zip |
clk: at91: move clock code to compat.c
Move clock code to compat.c to allow switching to CCF
without mixing CCF code with non CCF code. This prepares the
field for next commits.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Diffstat (limited to 'drivers/clk/at91/Makefile')
-rw-r--r-- | drivers/clk/at91/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/drivers/clk/at91/Makefile b/drivers/clk/at91/Makefile index 8c197ff949..e2413af403 100644 --- a/drivers/clk/at91/Makefile +++ b/drivers/clk/at91/Makefile @@ -2,11 +2,8 @@ # Makefile for at91 specific clk # -obj-y += pmc.o sckc.o -obj-y += clk-slow.o clk-main.o clk-plla.o clk-plladiv.o clk-master.o -obj-y += clk-system.o clk-peripheral.o - -obj-$(CONFIG_AT91_UTMI) += clk-utmi.o -obj-$(CONFIG_AT91_USB_CLK) += clk-usb.o -obj-$(CONFIG_AT91_H32MX) += clk-h32mx.o -obj-$(CONFIG_AT91_GENERIC_CLK) += clk-generated.o +ifdef CONFIG_CLK_CCF +obj-y += pmc.o +else +obj-y += compat.o +endif |