clk: sandbox: Add sandbox test code for Common Clock Framework [CCF]
[oweals/u-boot.git] / drivers / clk / Kconfig
index 9c2b284d02381d57e9b4efc0f11c6eac5162e9c3..9399bb79e9a82dd09f08868fd2a8ba94e08e6dc0 100644 (file)
@@ -55,7 +55,7 @@ config SPL_CLK_CCF
 
 config CLK_CCF
        bool "Common Clock Framework [CCF] support "
-       depends on CLK_IMX6Q
+       depends on CLK_IMX6Q || SANDBOX_CLK_CCF
        help
          Enable this option if you want to (re-)use the Linux kernel's Common
          Clock Framework [CCF] code in U-Boot's clock driver.
@@ -138,4 +138,12 @@ config CLK_MPC83XX
        help
          Support for the clock driver of the MPC83xx series of SoCs.
 
+config SANDBOX_CLK_CCF
+       bool "Sandbox Common Clock Framework [CCF] support "
+       depends on SANDBOX
+       select CLK_CCF
+       help
+         Enable this option if you want to test the Linux kernel's Common
+         Clock Framework [CCF] code in U-Boot's Sandbox clock driver.
+
 endmenu