1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00

clk: gate: support sandbox

Introduce io_gate_val for sandbox clk gate test usage

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan
2019-07-31 07:01:57 +00:00
committed by Lukasz Majewski
parent 0009763588
commit 2b12957d01
2 changed files with 14 additions and 0 deletions

View File

@@ -75,6 +75,9 @@ struct clk_gate {
void __iomem *reg;
u8 bit_idx;
u8 flags;
#if CONFIG_IS_ENABLED(SANDBOX_CLK_CCF)
u32 io_gate_val;
#endif
};
#define to_clk_gate(_clk) container_of(_clk, struct clk_gate, clk)