17ded0a89b
Use common clock infrastructure instead of private APIs. 1. Enable COMMON_CLK in the Kconfig. 2. Remove private clock APIs, which are replaced by the code in drivers/clk/clk-ls1x.c. 3. Modify header file for drivers/clk/clk-ls1x.c. Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com> Patchwork: http://patchwork.linux-mips.org/patch/4431 Signed-off-by: John Crispin <blogic@openwrt.org>
23 lines
405 B
Plaintext
23 lines
405 B
Plaintext
if MACH_LOONGSON1
|
|
|
|
choice
|
|
prompt "Machine Type"
|
|
|
|
config LOONGSON1_LS1B
|
|
bool "Loongson LS1B board"
|
|
select CEVT_R4K
|
|
select CSRC_R4K
|
|
select SYS_HAS_CPU_LOONGSON1B
|
|
select DMA_NONCOHERENT
|
|
select BOOT_ELF32
|
|
select IRQ_CPU
|
|
select SYS_SUPPORTS_32BIT_KERNEL
|
|
select SYS_SUPPORTS_LITTLE_ENDIAN
|
|
select SYS_SUPPORTS_HIGHMEM
|
|
select SYS_HAS_EARLY_PRINTK
|
|
select COMMON_CLK
|
|
|
|
endchoice
|
|
|
|
endif # MACH_LOONGSON1
|