Skip to content

Commit 720452a

Browse files
committed
Revert "clk: microchip: core: allow driver to be compiled with COMPILE_TEST"
This reverts commit 026d70d. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent df13676 commit 720452a

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

drivers/clk/microchip/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22

33
config COMMON_CLK_PIC32
4-
def_bool (COMMON_CLK && MACH_PIC32) || COMPILE_TEST
4+
def_bool COMMON_CLK && MACH_PIC32
55

66
config MCHP_CLK_MPFS
77
bool "Clk driver for PolarFire SoC"

drivers/clk/microchip/clk-core.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575
/* SoC specific clock needed during SPLL clock rate switch */
7676
static struct clk_hw *pic32_sclk_hw;
7777

78-
#ifdef CONFIG_MATCH_PIC32
7978
/* add instruction pipeline delay while CPU clock is in-transition. */
8079
#define cpu_nop5() \
8180
do { \
@@ -85,9 +84,6 @@ do { \
8584
__asm__ __volatile__("nop"); \
8685
__asm__ __volatile__("nop"); \
8786
} while (0)
88-
#else
89-
#define cpu_nop5()
90-
#endif
9187

9288
/* Perpheral bus clocks */
9389
struct pic32_periph_clk {

0 commit comments

Comments
 (0)