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:
committed by
Lukasz Majewski
parent
0009763588
commit
2b12957d01
@@ -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)
|
||||
|
Reference in New Issue
Block a user