diff options
author | Clement Leger <cleger@kalray.eu> | 2020-04-04 22:29:09 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-15 11:15:18 +0200 |
commit | 9c508f3fd36396099f7bf6b929293114d23ab3a5 (patch) | |
tree | cffd014b5bf44699adb23bb04c927dcd307210c3 /arch | |
parent | 83040a72125f3f0211fbc9d237f8567e3022ef3c (diff) | |
download | barebox-9c508f3fd36396099f7bf6b929293114d23ab3a5.tar.gz barebox-9c508f3fd36396099f7bf6b929293114d23ab3a5.tar.xz |
clocksource: kvx: Add kvx clocksource support
Add a clocksource for kvx architecture based on core performance
counter. This performance counter is configured to count cycles and as
such can be used to be a clocksource.
Signed-off-by: Clement Leger <cleger@kalray.eu>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/kvx/configs/generic_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/kvx/configs/generic_defconfig b/arch/kvx/configs/generic_defconfig index 3f7bb0f195..d0c2252bfe 100644 --- a/arch/kvx/configs/generic_defconfig +++ b/arch/kvx/configs/generic_defconfig @@ -1,6 +1,7 @@ CONFIG_AUTO_COMPLETE=y CONFIG_BAUDRATE=115200 # CONFIG_BOOTM is not set +CONFIG_CLOCKSOURCE_KVX=y CONFIG_CMD_CMP=y CONFIG_CMD_OF_DUMP=y CONFIG_CMD_POWEROFF=y |