mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
clk/qcom: apq8016: use BIT macro for clk en_vals
This reads a little bit nicer (IMO), and is consistent with the kernel. Signed-off-by: Sam Day <me@samcday.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org> Link: https://lore.kernel.org/r/20250212-msm-rng-fixes-v2-1-645cf8d3fd3c@samcday.com Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
This commit is contained in:
@@ -54,8 +54,8 @@ static struct vote_clk gcc_blsp1_ahb_clk = {
|
||||
};
|
||||
|
||||
static const struct gate_clk apq8016_clks[] = {
|
||||
GATE_CLK(GCC_USB_HS_AHB_CLK, 0x41008, 0x00000001),
|
||||
GATE_CLK(GCC_USB_HS_SYSTEM_CLK, 0x41004, 0x00000001),
|
||||
GATE_CLK(GCC_USB_HS_AHB_CLK, 0x41008, BIT(0)),
|
||||
GATE_CLK(GCC_USB_HS_SYSTEM_CLK, 0x41004, BIT(0)),
|
||||
};
|
||||
|
||||
/* SDHCI */
|
||||
|
||||
Reference in New Issue
Block a user